Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open another program
How can I open another program from inside excel? Say I have an executable
in the root of C called st.exe. C:\ST.Exe. If this is called I want to close excel WITHOUT saving the changes. Thanks for your help. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open another program
. . . shell "C:\st.exe" for each bk in workbooks if bk.Name < thisworkbook.Name then bk.close Savechanges:=False end if Next Thisworkbook.Close Savechanges:=False End Sub -- Regards, Tom Ogilvy "Striker" wrote: How can I open another program from inside excel? Say I have an executable in the root of C called st.exe. C:\ST.Exe. If this is called I want to close excel WITHOUT saving the changes. Thanks for your help. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open another program
Thanks Tom, I'll give this a try today.
"Tom Ogilvy" wrote in message ... . . . shell "C:\st.exe" for each bk in workbooks if bk.Name < thisworkbook.Name then bk.close Savechanges:=False end if Next Thisworkbook.Close Savechanges:=False End Sub -- Regards, Tom Ogilvy "Striker" wrote: How can I open another program from inside excel? Say I have an executable in the root of C called st.exe. C:\ST.Exe. If this is called I want to close excel WITHOUT saving the changes. Thanks for your help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
get name of every open 'Program" | Excel Programming | |||
I cant open files unless I open the Excel program first | Excel Discussion (Misc queries) | |||
open up an excel program with an auto open macro | Excel Programming | |||
I can not open my excel program, | Excel Discussion (Misc queries) | |||
How do I open a program(CADD) with VBA | Excel Programming |