Excel SaveAs not using specified FileFormat

G

Guest

I'm using Excel as an ActiveX object and trying to use the SaveAs method in
Excel to programmatically save the workbook in different file types. The
file saves (has an updated date & time stamp) but not in the specified
format. Instead it is always in the Excel format. I'm using the FileFormat
parameter with a value of , e.g., xlTextMSDOS. Is there something else that
needs to be specified, also. All help is much appreciated! Nancy
 
J

Jim Rech

Try using 21 instead of xlTextMSDOS.

--
Jim
| I'm using Excel as an ActiveX object and trying to use the SaveAs method
in
| Excel to programmatically save the workbook in different file types. The
| file saves (has an updated date & time stamp) but not in the specified
| format. Instead it is always in the Excel format. I'm using the
FileFormat
| parameter with a value of , e.g., xlTextMSDOS. Is there something else
that
| needs to be specified, also. All help is much appreciated! Nancy
 

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