Michael van der Nest
Random stuff.
Thursday, May 17, 2012
Use VBA to open a file
'
Use Windows Explorer to launch the file.
VBA.Shell "Explorer.exe " & Chr(34) & strFilePath & Chr(34), vbNormalFocus
'Use command to launch the file
VBA.Shell
"cmd /c """ & GetItemFolder & strFileName & """"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment