Help with Print Macro

G

Guest

Hi, it's me again.

I am building a macro that will export certain information to a specific
Excel spreadsheet. So far, I have the export working, and I can open the
Excel Application. How do I get it to open a specific Excel file, instead of
just a blank worksheet?

This is what I have so far:

Action: RunApp
Command Line: C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE

I want it to open: G:\Admin\Jen's Projects in Progress\Jenish Access
Project\Forms for Project.xls

Do I add to the command line?

Jen
 
S

Steve Schapel

Jen,

Yes, just add it to the end of the Command Line argument, with the two
sections separated by a space, and enclosed in ""s, so the Command Line
looks like this...
"C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" "G:\Admin\Jen's
Projects in Progress\Jenish Access Project\Forms for Project.xls"
 

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