Macro created in english is not working in French environment/Laptop

guruprasadch

New Member
Joined
May 22, 2017
Messages
7
Team,
My excel file with macros is working just fin in my laptop (configured for US English language) but the same file throws below error message when my colleagues in Paris with French OS try to open it.

Error Message: “Excel encountered non readable content in the file. Do you want to recover the content of this file? If it is reliable, click yes”.

I tried searching on net, found conflicting answers; some posts asked to change some formulae which are not supported in French language or to convert whole macro into French. However some other posts suggested that Excel-97 onward its language neutral.


Please help me solve this problem, and let me know if you need additional information or code snippet .


Regards,
Guruprasad C H
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
First, please use code tags when posting code (I've added them for you above).

I can't see anything obviously wrong there, although you should really use the FormulaR1C1 property when assigning an R1C1 format formula, rather than Value:

Code:
ActiveWorkbook.Sheets("TFSDump").Range(tbcolumn).FormulaR1C1 = formula
 
Upvote 0
Thanks for confirming the code correctness; i will have to find the right cause.

Regarding code tags, my apologies, wasn't aware how to add them..
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,377
Messages
6,130,261
Members
449,568
Latest member
mwl_y

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