Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Renumber "Microsoft Excel Objects" SheetN (XXX) ...

Hello -

Is there any way to renumber the Microsoft Excel Objects other than
copying/pasting the sheets in the correct order to a new workbook? I
have an Excel file where sheets have been deleted and added quite a
bit and I would like them to be Sheet1 (XXX), Sheet2 (YYY), ... again.

I do not use this name to refer to it (I use the "XXX" instead) so it
will not compromise any of the macros.

Thanks,
Joachim

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 417
Default Renumber "Microsoft Excel Objects" SheetN (XXX) ...

This is known as the "Code Name". Go into the VBA editor (Alt+F11),
select the Properties window (use View|Properties Window to turn it on
if it is not visible), then change the string on the top line where the
property listed in the left column is "(Name)". The name that you see on
the worksheet tab is the property "Name", and is listed about 8 rows
down.

If you are not using this "Code Name" in any of your macros, then you
normally don't need to ever change or worry about the "Code Name".

--
Regards,
Bill Renaud



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Renumber "Microsoft Excel Objects" SheetN (XXX) ...

Hello -

Wow ... that was easy!

Thanks a lot!

Joe



On Aug 14, 5:20 pm, "Bill Renaud"
wrote:
This is known as the "Code Name". Go into the VBA editor (Alt+F11),
select the Properties window (use View|Properties Window to turn it on
if it is not visible), then change the string on the top line where the
property listed in the left column is "(Name)". The name that you see on
the worksheet tab is the property "Name", and is listed about 8 rows
down.

If you are not using this "Code Name" in any of your macros, then you
normally don't need to ever change or worry about the "Code Name".

--
Regards,
Bill Renaud


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
"Cannot shift objects off sheet" in Excel when inserting row/col? NICOLAS.K. Excel Worksheet Functions 2 February 23rd 09 05:01 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Closing grouping in Excel I get "Cannot shift objects off sheet"? Nasty Merasty Excel Discussion (Misc queries) 1 February 1st 08 05:16 PM
Excel error "Cannot shift objects off sheet", can I fix? LionHearted1952 Excel Discussion (Misc queries) 1 September 30th 06 05:27 PM
VBA - The Literal "Microsoft Excel" on the Top" Marcelo Rychter Excel Programming 2 June 3rd 06 12:25 PM


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