How to open an excel file

Kaveh

New Member
Joined
Oct 16, 2017
Messages
6
Hi,
I have an excel file with data input by macro.
I added some data in it and then i saved the file under another name.
Now when I try to open it, the excel pops up with an error saying: excel cannot open the file because the format or file extention is not valid...
But when I save the file as Excel Macro-Enabled workbook it saves and opens just right.
Now, my problem is that i have added bunch of data in my previous saved file and I cannot access them. Is there anyway besides reparing with value to get my original data?
Thanks in advance
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
how and what was it saved as ?
 
Upvote 0
Hi, thanks for the reply. The extension was .xlsm. I decided to change it to . xls and guess what? I opened the file with no restrictions.
Thanks for caring to help.
 
Upvote 0
did you write xls from xlsm or did you save as

xls is upto 2003, 2007 saw the xlsm (macro enabled) and is a different internal file structure.
 
Upvote 0
I saved the file by default. I didn't chose the "save as". Excel saved the file under macro file. I don't have any logical explanation for that behavior but, the difference between my version of the office and the author's version.
 
Upvote 0
what vesrion excel are you using ?
 
Upvote 0

Forum statistics

Threads
1,215,011
Messages
6,122,677
Members
449,092
Latest member
tayo4dgacorbanget

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