|
From: TJ89 on 26 Jun 2008 18:10 I have a macro, made with a macro recorder. (.mcr file) I can double click from Windows Explorer and it runs fine. I would like to exe from VB6. The shell command returns "Invalid procedure call or argument". How should I be doing this? Thanks,
From: Jeff Johnson on 26 Jun 2008 18:44 "TJ89" <nospam(a)nospam.net> wrote in message news:%23qOt$l91IHA.3600(a)TK2MSFTNGP04.phx.gbl... >I have a macro, made with a macro recorder. (.mcr file) > > I can double click from Windows Explorer and it runs fine. > > I would like to exe from VB6. The shell command returns "Invalid procedure > call or argument". > > How should I be doing this? Search this group on Google for the keywords "shellexecute shellexecuteex". The Shell() function doesn't know how to run a file unless you provide the path to the executable, but the ShellExecute[Ex]() function can figure this out from the extension.
|
Pages: 1 Prev: At least I'm not the only one ... Next: DISREGARD - - Re: OT...... |