$$Excel-Macros$$ Re: Opening Program with command line args
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
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