Michael van der Nest
Random stuff.
Showing posts with label
vba
.
Show all posts
Showing posts with label
vba
.
Show all posts
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 & """"
Older Posts
Home
Subscribe to:
Posts (Atom)