Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Launch non-office applications through VBA
Is it possible to launch non-office applications such as IE or Windows
explorer through VBA, which has a similar effect as, running these applications from the RUN prompt giving arguments such as URL or windows path respectively. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Launch non-office applications through VBA
The VBA command you want is the 'Shell' Function
Shell "Notepad.exe" However, you should look for a any COM object which might expose the application as an object variable with properties and methods you can call directly from your code. N "Madhan" wrote: Is it possible to launch non-office applications such as IE or Windows explorer through VBA, which has a similar effect as, running these applications from the RUN prompt giving arguments such as URL or windows path respectively. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Launch non-office applications through VBA
Workbooks.Open Filename:="http://www.microsoft.com/"
Workbooks.Open Filename:="C:\My Documents\Excel\MyFile.xls" -- Best wishes, Jim "Madhan" wrote: Is it possible to launch non-office applications such as IE or Windows explorer through VBA, which has a similar effect as, running these applications from the RUN prompt giving arguments such as URL or windows path respectively. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Launch non-office applications through VBA
Thanks.
"Jim Jackson" wrote: Workbooks.Open Filename:="http://www.microsoft.com/" Workbooks.Open Filename:="C:\My Documents\Excel\MyFile.xls" -- Best wishes, Jim "Madhan" wrote: Is it possible to launch non-office applications such as IE or Windows explorer through VBA, which has a similar effect as, running these applications from the RUN prompt giving arguments such as URL or windows path respectively. |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Launch non-office applications through VBA
Thanks. This is exactly what I wanted. COM objects may not be available for
applications that are created by us, whereas shell would allow us to lauch any application. Thanks once again. "Nile_Hef" wrote: The VBA command you want is the 'Shell' Function Shell "Notepad.exe" However, you should look for a any COM object which might expose the application as an object variable with properties and methods you can call directly from your code. N "Madhan" wrote: Is it possible to launch non-office applications such as IE or Windows explorer through VBA, which has a similar effect as, running these applications from the RUN prompt giving arguments such as URL or windows path respectively. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Office applications will not run | Setting up and Configuration of Excel | |||
Is Office Clipboard shared between users or just applications? | Excel Discussion (Misc queries) | |||
Excel OLE objects crashing in other Office applications | Excel Discussion (Misc queries) | |||
Cannot create new? In all office 2003 applications | Excel Discussion (Misc queries) |