Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Recovering the ribbon in Excel 2007 after an error

I have been programming the ribbon in the Excel 2007 beta to create a custom
tab, using callbacks from VBA, and have encountered the following problem: if
the program terminates for any reason (e.g. an error or an End statement),
the ribbon object returned from the onLoad event is lost. There is then no
way to invalidate the ribbon. Is there any way to get this object back again?
The only way I have found is to close and reopen the add-in containing the
ribbon XML, but this seems rather heavy-handed, and also has the effect of
switching the user off my custom tab and back to the home tab. If there is no
other way to do it, is there any way to activate my custom tab after
reopening the workbook?
--
Andrew B
Reply
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
Help with Excel 2007 Ribbon Ayo Setting up and Configuration of Excel 2 November 6th 09 05:13 AM
Excel 2007 Ribbon Annette[_3_] Excel Discussion (Misc queries) 4 August 25th 09 02:39 PM
Excel 2007 Ribbon Clay Excel Worksheet Functions 2 September 3rd 08 09:51 AM
How can I add the OneNote 2007 icon to the ribbon in Excel 2007? Todd Excel Discussion (Misc queries) 6 February 14th 08 11:22 PM
Help! Excel 2007 Ribbon Is Missing Add-Ins Tab Ash Excel Discussion (Misc queries) 2 January 5th 08 09:17 PM


All times are GMT +1. The time now is 05:45 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"