LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default Program Control After Closing Another Program

I have what I thought was a simple requirement. I have a workbook that has 2
simple choices to retrieve one workbook or another. When I click on the
button the program is retrieved just fine., The userform works just fine and
the save and close work just fine. The only issue is that when it "returns"
to the original program, the menu that was there now disappears and has to be
reloaded. Does anyone know of a way to return to the original program and
still see the userform?

Here is the code that opens the 2nd workbook.

Private Sub GetTour_Btn_Click()
Workbooks.Open ("Tour Quoting Program (Pricer).xls")
Call DisplaySplash 'This line does not appear to be executing
End Sub

Sub DisplaySplash()
Call HideApp
Call RemoveCustomMenu
Call AddCustomMenu
On Error Resume Next
Splash.Show
On Error GoTo 0
End Su


Any help would be appreciated.

Thanks,

Steve
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Closing a program which was opened with shellexecute JonT Excel Programming 1 February 27th 08 12:46 PM
Closing a program MarkS Excel Programming 3 March 19th 07 01:42 AM
Closing Excel Program correctly? T.c.Goosen1977[_49_] Excel Programming 1 July 7th 06 04:04 PM
[HELP] closing a program with VBA code Andr? Palmela Excel Programming 2 October 21st 04 05:47 PM
Need program to ask me to save changes when closing yar[_2_] Excel Programming 1 April 22nd 04 08:08 PM


All times are GMT +1. The time now is 08:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"