Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default starting an external program with a command line

Do you mean VBA help or the program's help? If the latter
it was of no use.
-----Original Message-----
Look in the help at SendKeys

--
Regards,
Tom Ogilvy

"Jonathan" wrote in message
...
have a command line to start a program as follows...

Program = "C:\Program Files\Program\program.exe"

but want it to send an initial command initially. its
not a file that would execute the program (i.e.,

file.doc
for say ms word) but a command you would enter in the
command line box of the program

once open i would type the comand inp filename

have tried

Program = "C:\Program Files\Program\program.exe inp
filename" but does not work.

any way to do a seperate line for the command

i.e., Program = "C:\Program Files\Program\program.exe"
and then a seperate line "inp filename" or something
like that?



.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting and Stopping excel from command line. Bruce Edwards Excel Discussion (Misc queries) 1 April 27th 08 06:34 PM
How do I make a line graph WITHOUT first line starting at zero? NorthStar Charts and Charting in Excel 9 September 7th 07 02:31 PM
excel keeps crashing when starting the program jblake48 Excel Discussion (Misc queries) 1 October 11th 06 05:19 PM
Starting another program out of Excel VB?? Mac Lingo Excel Worksheet Functions 1 June 16th 06 03:52 AM
what are Compile Errors on Starting program? qs1 New Users to Excel 1 June 9th 06 04:22 PM


All times are GMT +1. The time now is 09:53 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"