Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Problem with Shell command
I want to be able to open some pdf and htm files from Outlook and from xcel.
I am using Sub testsh() Dim target As String target = "C:/vba/copy7.htm" Shell "Start " & target End Sub This fails with "file not found" Given that I have successfully opened the file to read the text from excel and also that it runs fine from cmd.exe, I know the path is right. Is there some security setting or reference that is missing? This problem occurs regardless of the file I attempt to target. I am running XP in Classic mode. TIA Andrew |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Shell Command | Excel Programming | |||
Shell command | Excel Programming | |||
Problem using Excel's "Shell" command | Excel Programming | |||
xp shell command using vba | Excel Programming | |||
SHELL command | Excel Programming |