J
Jarle
I want to open a document. Document format may vary.
I try with:
Dim f_name as String
Dim Returnvalue as Variant
f_name ="E:\forlder1\folder2\test.pdf"
ReturnValue = Shell("start " & Chr$(34) & f_name Chr$(34) )
According to a tip on a different web-site this should open the file in the
program it is connected to (here: Acrobat Reader).
I always get error message "file not found", but the file is there.
What is wrong?
rgds
Jarle
I try with:
Dim f_name as String
Dim Returnvalue as Variant
f_name ="E:\forlder1\folder2\test.pdf"
ReturnValue = Shell("start " & Chr$(34) & f_name Chr$(34) )
According to a tip on a different web-site this should open the file in the
program it is connected to (here: Acrobat Reader).
I always get error message "file not found", but the file is there.
What is wrong?
rgds
Jarle