Open excel file from project

S

scott_hanebutt

I am wanting to open an already existing Excel file via vba in Project. Any
suggestions and especially sample code would be appreciated.

Thanks,
Scott Hanebutt
 
J

Jan De Messemaeker

Hi Scott,

Look for help on the CreateObject function.
You can create the workbook object directly or (as I generally do) create
the Excel application object (say it is called xlapp), then
xlapp.workbooks.open (see the help on teh workbooks object)

HTH
 

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