Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
fileopen
Hi,
Can anyone please tell me why this code is working: fileopen = Shell("C:\Program Files\EC55\ec55.exe " & "c:\04987.ecw", 4) and this code is not: dim directory as string directory = "c:\04987.ecw" fileopen = Shell("C:\Program Files\EC55\ec55.exe " & "directory", 4) They both open the application, the first one open the file also, but the second one doesn't. Thanks, Afshin |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Test fileOpen | Excel Programming | |||
Macro to run on fileopen for all workbooks | Excel Programming | |||
Using FileOpen | Excel Programming | |||
Selecting a file path in Excel VBA using FileOpen dialog | Excel Programming |