Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default How to simulate worksheet rename event

Hello,

Has anybody invented a reasonable way through which a worksheet rename event
can be simulated at the moment of the renaming?

TIA,
Nacho


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default How to simulate worksheet rename event

Hi
not really sure what you're trying to do. Do you want an event
triggered WHILE still typing the new name?

--
Regards
Frank Kabel
Frankfurt, Germany

"Nacho Nachev" schrieb im Newsbeitrag
...
Hello,

Has anybody invented a reasonable way through which a worksheet

rename event
can be simulated at the moment of the renaming?

TIA,
Nacho



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default How to simulate worksheet rename event

No. Just an event that will indicate that the worksheet has been renamed
immediately after the rename is completed.. I think I'll do fine with the
solution proposed by keepITcool, but for the sake of completeness I'll be
happy to know if there is a way to indicate such event.

Thanks,
Nacho


"Frank Kabel" wrote in message
...
Hi
not really sure what you're trying to do. Do you want an event
triggered WHILE still typing the new name?

--
Regards
Frank Kabel
Frankfurt, Germany

"Nacho Nachev" schrieb im Newsbeitrag
...
Hello,

Has anybody invented a reasonable way through which a worksheet

rename event
can be simulated at the moment of the renaming?

TIA,
Nacho





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default How to simulate worksheet rename event

there's no 'viable' possibility.

what you could do if you want to be sure you can reference the correct
worksheets in your macro's it to use the "codename" property of the
worksheet (that is the name you see in Project explorer)

be aware that since the codename is not indexed, you cannot reference
a specific sheet directly like Worksheets("MySheet") you;ll have to
find it by iteration:
for each ws in worksheets
if ws.codename = "MySheet" then
exit for
next





keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"Nacho Nachev" wrote:

Hello,

Has anybody invented a reasonable way through which a worksheet rename
event can be simulated at the moment of the renaming?

TIA,
Nacho



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default How to simulate worksheet rename event

Thank you! This is very nice solution and will work fine for me as I will
not need to update my internal data when a worksheet is renamed.

Kind regards,
Nacho


"keepITcool" wrote in message
...
there's no 'viable' possibility.

what you could do if you want to be sure you can reference the correct
worksheets in your macro's it to use the "codename" property of the
worksheet (that is the name you see in Project explorer)

be aware that since the codename is not indexed, you cannot reference
a specific sheet directly like Worksheets("MySheet") you;ll have to
find it by iteration:
for each ws in worksheets
if ws.codename = "MySheet" then
exit for
next





keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"Nacho Nachev" wrote:

Hello,

Has anybody invented a reasonable way through which a worksheet rename
event can be simulated at the moment of the renaming?

TIA,
Nacho







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
Rename tab on cell event John G.[_2_] New Users to Excel 13 July 9th 08 12:56 AM
EXCEL 2002: How do I user/simulate a Timer event in Excel form JohnF[_2_] Excel Programming 12 September 23rd 04 04:56 PM
Is there a way to simulate a 'Hide Column' Event? Alan Excel Programming 0 August 31st 04 05:59 AM
EXCEL 2002: How do I user/simulate a Timer event in Excel form John Fejsa Excel Programming 2 August 18th 04 03:44 AM
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 07:47 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"