LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default Event rename worksheet

Again thx for responding - not the least the speed of it. The options you
mention i have thought of, but as you say wouldn't guarantee an uptodate
list. Deleting/adding sheets is no problem as i can trap it in application
level events, reordering would be the same problem, but is no issue for me as
i sort the list alphabetically and only use it for activating sheets, not
having to rely solely on the scrollbar for sheet tabs.

"Jim Rech" wrote:

That's a tough one. There is no event when a commandbar combobox is clicked
to open it so you can't use that to update the list.

Options I can think of-
-Use the Thisworkbook Workbook_SheetSelectionChange event to check your list
of sheet names versus the real names and update the combobox when they are
different. This wouldn't add much overhead and wouldn't guarantee the list
was up to date but it probably would be most of the time.
-Make the combobox a button instead and have it open something you can
update dynamically like a userform.
-Live with the names in the combo box being wrong potentially but update the
list whenever the user picks a name in the combobox.

Btw, is not the user deleting/adding/re-ordering sheets also a problem?

--
Jim
"ojv" wrote in message
...
| thx for responding. The problem i have is that i use a commandbarcombobox
on
| a menubar to list sheetnames in activeworkbook (for books with large
number
| of sheets). If user change sheetname i would like to update the list for
the
| relevant combobox. Any way to handle that?
|
| "ojv" wrote:
|
| Are there any way of trapping the renaming of a sheet, i.e. the name
occuring
| on the tab, in an application level event Excel 2003?
|
| Any help appreciated.
|
| ojv





 
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
Rename tab on cell event John G.[_2_] New Users to Excel 13 July 9th 08 12:56 AM
Rename worksheet event Mike Archer Excel Programming 2 June 7th 07 09:18 AM
Rename Sheet Event kt Excel Programming 4 November 25th 05 06:15 AM
How to simulate worksheet rename event Nacho Nachev Excel Programming 4 October 5th 04 03:03 PM
How can i trap the rename event of an excel sheet? bmm Excel Programming 4 August 10th 04 03:51 PM


All times are GMT +1. The time now is 09:10 PM.

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"