Excel format priority

nemmi69

Well-known Member
Joined
Mar 15, 2012
Messages
938
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2013
Platform
  1. Windows
In an Excel shared spreadsheet which decimal format takes priority, the spreadsheet or the users format?
This is mainly about the thousands separator and the decimal separator.

Is there a way to force the shared documents format as the priority?
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
The thousands separator and decimal separator are defined by the Windows Regional Settings, and Excel normally uses those settings. If I understand you correctly, then you want to override the settings defined by Windows and change Excel to use different settings, presumably to whatever your preferred definition is. The answer is that it can be done:

VBA Code:
    With Application
        .UseSystemSeparators = False
        .DecimalSeparator = ","
        .ThousandsSeparator = "."
    End With

But it is s a very heavy-handed way to solve your problem, because changing the setting as per the above changes the users's Excel configuration, and will affect every other workbook they have open - and will stay that way until they or you change it back; so a larger question is should you do it? As a user, I would be very upset if a colleague tried to do that without asking permission since it affects everything else I do in Excel.
 
Upvote 0

Forum statistics

Threads
1,224,596
Messages
6,179,802
Members
452,943
Latest member
Newbie4296

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top