Wrong format datablocks values in Excel

Guys, thank you for the help and idea's!
I have tried a lot of things and there are 2 solutions:

1 Change temporary the Excel advanced options for the dot and the comma.
See attached file. Then paste the values from the DB in the Excel sheet and
change the excel options original back. Then all the dots are changed to
comma.

2 Copy the values of the db to notepad.With using find and replace all the
dots to comma.Then paste this in the Excel sheet and it's done!

I think the options for Excel in the UK are different as in the netherlands!

But again, thank you for the help guys.
I appreciated it.

Excel Advanced Options2.jpg
 
What if you download and install openoffice?


Is situation still same with also openoffice then it would lead that there is still setting on windows controla panel to this?

https://www.openoffice.org/


If openoffice works differently, then setting is on excel.
 
FYI.
I have on excel thousand seperator blank, as we don't use it.


Also win setting for list seperator is ;.


English windows install usually have list opereator by default "," which makes saved csv files different if opened on notepad.
(and then there is need of replace on notepad if there is 2 different windos installation and files are copied to different windows language system)


L D could check what are setting on UK windows ;)

lang_settings.jpg
 
Hello Lare,
I don't use open office I use Excel 2016.
Also I tried Office 365 but have the same problem.
When I put a dot in the cell it will not work, but when I use a comma it will be work.
 
Last edited:
Yes, I know that.
But you could try installing openoffice, then we would know for sure that problem comes from excel and not from your windows environment.
 
As you are dutch, your Windows system settings are likely set to use the comma as decimal separator and semi-colon ; or tab as field separator. Most PLC software follows anglo-saxon convention of point as decimal separator and komma as field separator.


Excel 2016 or the office 365 version should not make a difference indeed. My understanding is that default behaviour of Excel is to follow your Windows settings. You can configure different settings in Excel, but will have to keep checking if this remains set.



There is no single solution, basically you have a few choices and each has pros and cons. Such is life. One option is to do a search and replace in notepad as you have now done. If you don't have to do this every day then this is perfectly fine. Option two is to set custom decimal separator, thousand separator and field separator in Excel. Closing Excel may be required before this takes effect (and check task manager to make sure no instance of Excel is still active in the background, Excel tends to do that a lot !!!). Option three is to change your Windows system settings to use the anglo-saxon notation system wide. Again, a restart is problably required before this takes effect. In case of changed system settings that would be a full Windows restart, not only a fresh start for Excel.



One thing to keep a look at that can make things really confusing: the language bar in Windows and the different configuration options that Windows allows for. If you first start playing around with this it is perfectly possible in Windows that some applications use one locale setting, the other application uses different set of settings, a third does not follow any windows settings at all but overrules these with its' own internal configuration settings. This is both a powerful feature as well as a dangerous pitfall which can make things really confusing by making you think your entire system is set for one way of dealing with decimals and thousand separators but some applications follow these system wide settings while other applications stick to either their own custom settings within the application or a custom set of locale settings that the user has unintentionally set in Windows for this specific application.



On my own computers I was tired of always having to think about this. Therefore, despite being dutch, I have set my windows default formats as anglo-saxon. I have been doing this for years and it is perfectly acceptable for me. Your preference may be different. just try to have a good understanding of the multitude of ways this can be configured.
 
Thanx Toine for your information.
It will not happening every day to paste the values from the datablocks to Excel.
So I let the standard settings in Windows and Excel in this way.
I use the option with Notepad in this case.
 

Similar Topics

I am latching and unlatching "result_Data_latch" bit within same rung. Will This copy/move instruction execute correctly??
Replies
4
Views
195
We have a quad monitor setup with FT SE and we are utilizing a header screen at the top of every display. when we open a new page we abort the...
Replies
0
Views
97
Hi all, I am having an issue with FT View Studio ME when I try to open the propoerties of any object, the size of it is very big and doesn't let...
Replies
0
Views
108
ewrong aka the censored brand of remote access this thing is kicking my butt and im not sure if i am just irritated enough that i am missing...
Replies
5
Views
634
In Easy Builder Pro: Unexpected results... I've got a toggle switch set to trigger a macro to write a specified integer or a 0 depending on the...
Replies
7
Views
2,317
Back
Top Bottom