Excel VBA Workbook.Open changes Format

Gindo70

New Member
Joined
Oct 9, 2017
Messages
6
Hello
i have the following problem:
All Cells of the Wokrbook are in the general format. When i open it manualy it looks like this:

349,878235
21,04166836,66666829,89583446,0416639,479168
350,06109627,86713440,70221328,87237954,32400550,008747

<tbody>
</tbody>

But when i use Workbooks.open the opened Workbook looks like this (Format of the Cells changed to Number):

349.878.235
21.041.66836.666.66829.895.83446.041.660
39.479.168
350.061.09627.867.13440.702.21328.872.37954.324.00550.008.747

<colgroup><col span="6"></colgroup><tbody>
</tbody>

Additional Info:
The Workbook is an Excel 1997-2003 .xls File and i am using Excel 2016
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Welcome to the forum.

Try specifying the Local:=True argument for the Workbooks.Open method as well as the file name.
 
Upvote 0

Forum statistics

Threads
1,215,019
Messages
6,122,707
Members
449,093
Latest member
Mnur

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