Use ExcelApp.Workbooks.Item(1).SaveAs (path) and specify version

B

BerniePerks

I'm opening an instance of Excel within Access:
Dim ExcelApp As Object

Set ExcelApp = CreateObject("Excel.Application")
ExcelApp.Workbooks.Add

Then writing stuff to it and I want to save as acSpeadsheetTypeExcel8
(though I have Excel 2007 installed)

Can I do this using

ExcelApp.Workbooks.Item(1).SaveAs (path)?
 

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