$$Excel-Macros$$ Re: Opening Program with command line args

2009-10-07 Thread Mirosta
Hmm It works but you always have to catch an error for some reason, yet it still opens the program... Thanks Mirosta --~--~-~--~~~---~--~~ -- Some important links for excel users: 1

$$Excel-Macros$$ Re: Opening Program with command line args

2009-10-07 Thread Paul Schreiner
Look at the Shell function:  PathName = "C:\temp"  stat = Shell("C:\WINNT\explorer.exe " & PathName, vbNormalFocus) hope this helps, Paul From: Mirosta To: MS EXCEL AND VBA MACROS Sent: Tuesday, October 6, 2009 4:52:04 PM Subject: $$Excel-Macros$$ Opening P