Trouble with saving file

ttocs

New Member
Joined
Feb 4, 2009
Messages
6
Hello,

I have a VBA macro in my excel file that is opening up a file on a shared drive, making some daily changes, and then saving it and closing. Later, a perl script picks up these changes and makes a table in an email and sends it to some people.

This all used to work fine until I upgraded to Excel 2010. Now, for some reason, the table is having trouble being created correctly in the perl script. I went back to my 2003 version of excel and it works fine but whenever 2010 makes the changes and saves, it doesn't work. I'm saving as a .csv.

I thought it was a file version issue and tried the FileFormat:=56 and even tried :=6 (saw that csv might be that) but both don't work. Does anyone know of anything that could be causing the issue? Or maybe I have the wrong addition to the save? Here is how I'm writing it:

ActiveWorkbook.SaveAs , FileFormatNum:=56

I also tried writing it out long ways as a save as.

Any help would be appreciated. Thanks!
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Yeah, that is one of the iterations I tried and it still didn't work. I tried both 56 (.xls) and 6 (.csv) and both were no good.
 
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,476
Members
452,915
Latest member
hannnahheileen

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