There's no error. Nothing happens! Just like rmikesmith described.
I have exactly the same results (Excel 2000). I can open *.exe, *.doc, *.txt, *.rtf, etc. but no *.xls. And I don't know why.
Hi,
I'm using the code below to open different kind of files. But it doesn't work with, for example, Excel files. I'd like to have one universal code for opening files.
Option Explicit
Private Const SW_SHOWNORMAL = 1
Private Declare Function ShellExecute Lib "shell32.dll" Alias _...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.