T
Tal
Ok, I've got Word and Excel 2000 installed along side Outlook 2003. I
have some VBA code in a Word Add-In that uses the Shell command to open
Outlook.
Shell ("outlook.exe")
This code works in other Office configurations (all Office 2003 apps,
all Office 2000 apps, and other mixed scenarios as well, except this
one.) This line of code fails every time I try to run it with RTE 53
"File could not be found".
If I click Start -> Run and type 'outlook' or 'outlook.exe' then
Outlook opens just fine in response. But the Shell command fails in
the VBA code.
I changed the text to point to the correct Outlook location (i.e.
"C:\Program Files\Microsoft Office\Office11\outlook.exe") and this
works. Changing the code is a good workaround, but it does not prevent
the problem from occuring down the road on other machines. Does anyone
have any recommendations and can anyone tell me where office stores the
references to these shell commands?
Thanks much,
Tal
have some VBA code in a Word Add-In that uses the Shell command to open
Outlook.
Shell ("outlook.exe")
This code works in other Office configurations (all Office 2003 apps,
all Office 2000 apps, and other mixed scenarios as well, except this
one.) This line of code fails every time I try to run it with RTE 53
"File could not be found".
If I click Start -> Run and type 'outlook' or 'outlook.exe' then
Outlook opens just fine in response. But the Shell command fails in
the VBA code.
I changed the text to point to the correct Outlook location (i.e.
"C:\Program Files\Microsoft Office\Office11\outlook.exe") and this
works. Changing the code is a good workaround, but it does not prevent
the problem from occuring down the road on other machines. Does anyone
have any recommendations and can anyone tell me where office stores the
references to these shell commands?
Thanks much,
Tal