VB6 and Excel 2007

D

dpnews

I have a VB6 app that created an excel workbook from a template.
This works fine with Excel 2003.

If you run the same app with Excel 2007 the resultant workbook can only be
opened by Excel 2007.
I have set the option in Excel 2007 to save as a 2003 workbook but no luck.

Anyone any ideas

Cheers
Dave
 
D

dpnews

Solved it:

myDoc.SaveAs RTrim(FileName), xlWorkbookNormal, , , , , , True

I assume that xlWorkbooknormal uses whatever seting is defined in excel for
the default save format.
 

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