SaveCopyAs and FileType

B

Barb Reinhardt

I know when we save in Excel 2007, the file type should be defined. It
appears that isn't a requirement for SaveCopyAs. Can someone confirm?

Thanks,
Barb Reinhardt
 
R

Ron de Bruin

SaveCopyAs use always the file type of the parent workbook

I suggest to change this and add a fileformat parameter because it is easy to make a copy of a xlsm as xlsx this way
 
B

Barb Reinhardt

Ron,

The parent workbook is a .xlsm workbook. I did a savecopyas as
myWorkbook.xlsm (including the full path) and the file appeared to save fine.
When I went to open the file manually, I got an error that led me to believe
I'd not used the right fileformat during the savecopyas. Have you tried
this with excel 2007 to see what happens?

Thanks,
Barb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top