A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Remove custom menu



 
 
Thread Tools Display Modes
  #1  
Old March 8th, 2005, 03:52 PM
external usenet poster
 
Posts: n/a
Default Remove custom menu

I created a custom menu that loads when a workbook is
opened. This menu is needed only for this one workbook.
How, and where, do I write the code to remove the menu
when the workbook is closed?

TIA
  #2  
Old March 8th, 2005, 04:09 PM
Ron de Bruin
external usenet poster
 
Posts: n/a
Default

Hi

Use this events in the thisworkbook module

Private Sub Workbook_Activate()

End Sub

Private Sub Workbook_Deactivate()

End Sub

Read Chip Pearson's site about Events
http://www.cpearson.com/excel/*events.htm





--
Regards Ron de Bruin
http://www.rondebruin.nl



wrote in message ...
I created a custom menu that loads when a workbook is
opened. This menu is needed only for this one workbook.
How, and where, do I write the code to remove the menu
when the workbook is closed?

TIA



  #3  
Old March 8th, 2005, 04:25 PM
Dave Peterson
external usenet poster
 
Posts: n/a
Default

Ron,

I think you have an extra hypen in your link.

http://www.cpearson.com/excel/events.htm



Ron de Bruin wrote:

Hi

Use this events in the thisworkbook module

Private Sub Workbook_Activate()

End Sub

Private Sub Workbook_Deactivate()

End Sub

Read Chip Pearson's site about Events
http://www.cpearson.com/excel/*events.htm

--
Regards Ron de Bruin
http://www.rondebruin.nl

wrote in message ...
I created a custom menu that loads when a workbook is
opened. This menu is needed only for this one workbook.
How, and where, do I write the code to remove the menu
when the workbook is closed?

TIA


--

Dave Peterson
  #4  
Old March 8th, 2005, 04:29 PM
Ron de Bruin
external usenet poster
 
Posts: n/a
Default

Thanks Dave



--
Regards Ron de Bruin
http://www.rondebruin.nl



"Dave Peterson" wrote in message ...
Ron,

I think you have an extra hypen in your link.

http://www.cpearson.com/excel/events.htm



Ron de Bruin wrote:

Hi

Use this events in the thisworkbook module

Private Sub Workbook_Activate()

End Sub

Private Sub Workbook_Deactivate()

End Sub

Read Chip Pearson's site about Events
http://www.cpearson.com/excel/*events.htm

--
Regards Ron de Bruin
http://www.rondebruin.nl

wrote in message ...
I created a custom menu that loads when a workbook is
opened. This menu is needed only for this one workbook.
How, and where, do I write the code to remove the menu
when the workbook is closed?

TIA


--

Dave Peterson



  #5  
Old March 8th, 2005, 04:34 PM
Ron de Bruin
external usenet poster
 
Posts: n/a
Default

Hi Dave

Strange that you don't see the - in the thread
I copy/paste Chip's link from a old thread (Google)


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Dave Peterson" wrote in message ...
Ron,

I think you have an extra hypen in your link.

http://www.cpearson.com/excel/events.htm



Ron de Bruin wrote:

Hi

Use this events in the thisworkbook module

Private Sub Workbook_Activate()

End Sub

Private Sub Workbook_Deactivate()

End Sub

Read Chip Pearson's site about Events
http://www.cpearson.com/excel/*events.htm

--
Regards Ron de Bruin
http://www.rondebruin.nl

wrote in message ...
I created a custom menu that loads when a workbook is
opened. This menu is needed only for this one workbook.
How, and where, do I write the code to remove the menu
when the workbook is closed?

TIA


--

Dave Peterson



  #6  
Old March 8th, 2005, 05:06 PM
Dave Peterson
external usenet poster
 
Posts: n/a
Default

I see it in this thread--using Netscape 4.79 as my newsreader.

Ron de Bruin wrote:

Hi Dave

Strange that you don't see the - in the thread
I copy/paste Chip's link from a old thread (Google)

--
Regards Ron de Bruin
http://www.rondebruin.nl

"Dave Peterson" wrote in message ...
Ron,

I think you have an extra hypen in your link.

http://www.cpearson.com/excel/events.htm



Ron de Bruin wrote:

Hi

Use this events in the thisworkbook module

Private Sub Workbook_Activate()

End Sub

Private Sub Workbook_Deactivate()

End Sub

Read Chip Pearson's site about Events
http://www.cpearson.com/excel/*events.htm

--
Regards Ron de Bruin
http://www.rondebruin.nl

wrote in message ...
I created a custom menu that loads when a workbook is
opened. This menu is needed only for this one workbook.
How, and where, do I write the code to remove the menu
when the workbook is closed?

TIA


--

Dave Peterson


--

Dave Peterson
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Menu return to Excel Menu VetcalcReport Worksheet Functions 1 August 2nd, 2004 03:02 PM
How to remove items from drop down menu hsheah General Discussion 4 June 22nd, 2004 07:18 AM
office 2000 remove tools bud Setup, Installing & Configuration 1 May 27th, 2004 10:40 AM


All times are GMT +1. The time now is 07:52 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.