View Full Version : Open Excell spreadsheet with macro


crosmill
09-20-2001, 07:43 AM
I want to open an Excell spreadsheet with macro. Four gold stars to anyone that can help me!

fmm
09-20-2001, 12:44 PM
Use the RunApp command and supply the necessary command line.

crosmill
09-21-2001, 01:03 AM
Thanks, I've been trying that and it doesn't seem to work. It keeps telling me that the file path may be wrong. It's not. Or that a componet may be missing? Do you think it could have something to do with the fact I'm creating the file just before I want it to be opened?

fmm
09-21-2001, 12:17 PM
The command line should be
excel.exe "complete path to file.xls"

Make sure you have the path in quotes.

crosmill
09-24-2001, 01:18 AM
Thanks fmm, that works fine now!