Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Macro to open specific document
Hi, Im trying to use a macro in excel to open up a powerpoint document.
However when i try it just says document not found. I am using the Shell command and it works if I just try to open Access and work. But if i try to open any other specific document it just says not found. Thanks Richard |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Macro to open specific document
Try something like:
Sub Macro4() x = Shell("cmd.exe /c C:\sample.ppt", 1) End Sub -- Gary's Student "Thew21" wrote: Hi, Im trying to use a macro in excel to open up a powerpoint document. However when i try it just says document not found. I am using the Shell command and it works if I just try to open Access and work. But if i try to open any other specific document it just says not found. Thanks Richard |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel won't open the original document!!! | Excel Discussion (Misc queries) | |||
Closing File Error | Excel Discussion (Misc queries) | |||
Unable to open excel document across a network. | Excel Discussion (Misc queries) | |||
my excel document won't open unless i go file, then open | Excel Discussion (Misc queries) | |||
Macro to open specific File | Excel Discussion (Misc queries) |