|
-
May 16th, 2000, 09:35 PM
#2
Addicted Member
Hi,
if what you are trying to do is start Excel and load a file into it then use the Shell FUNCTION like this :
Shell "Path to the exe" & " " & "Path to the file", vbMaximizedFocus
Should give you something like :
Shell "C:\Excel.exe MyDoc.xls", vbMaximizedFocus
NOTE : ALL of the paths must be in short path format so use the API call GetShortPathName...
Hope thats what you wanted...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|