Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 11th, 2004, 03:46 PM
Registered User
 
Join Date: Jan 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Removing customisation of menus

My understanding is that if you modify any of the built-in menus or controls in VBA the customisation is stored in the Excel.xlb file and will apply to future Excel sessions. The way to avoid this is to reverse the customisation before the Excel application closes, say in a Workbook_BeforeClose event.

I have an application using a workbook set up as an add-in and, although I am detecting application events in a class module, the Before Close event doesn't occur for the add-in workbook as it isn't classed as a workbook.

How can I remove menu customisation just before the application closes?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Gridview customisation ndramkumar ASP.NET 2.0 Basics 0 June 30th, 2006 08:18 AM
sub menus matshediso HTML Code Clinic 2 January 31st, 2005 05:15 AM
Crystal enterprise customisation abdullahm Crystal Reports 5 November 30th, 2004 05:19 PM
Crystal Viewer Customisation - 9 RAS donaldt Crystal Reports 0 October 28th, 2003 06:37 AM
Menus Frank Schmuck BOOK: Beginning ASP.NET 1.0 1 June 6th, 2003 01:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.