"Application not found" error message

R

robot

The following code:

Dim objshell As Object
Set objshell = CreateObject("Shell.Application")
objshell.Open "http://www.google.com/"

runs fine in most machines in my office, but a few machines display the
error message:
"Application not found" on executing line 3.

There is no difference in the configuration of all machines, as all of them
are installed with Win XP and Office XP.

Suggestions to solve the issue would be most appreciated.
 
R

Russ

Robot,
I would try to compare references enabled between machines, in the VBA
Editor menu Tools/References...
 
R

Russ

Robot,
It is as if there is no application associated with opening a webpage on
those machines. What happens if you type that url into Windows Explorer (not
Internet Explorer)?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top