Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Renaming tabs

I am running monthly financials in FRX and creating worksheets into excel.
The starting names are different for each property but the tabs need to have
the same names. Is there anyway to write a macro by placement of tab to name
the tabs in each separate worksheet over and over again each month?

There are 7 tabs in the final worksheet.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default Renaming tabs

There would logically need to be some difference in the Sheet (Tab) name to
avoid confusion in formulas and code. But you could, once you file transfer
is completed run a short macro to name the sheets.

Set wb = Workbooks("Somename.xlx?") 'Use actual Name and extension.
For i = 1 To wb.Sheets.Count
wb.Sheets(i).Name = "Samename" & i 'Use actual sheet name.
Next

This would be the same name except that it would number the sheets
consecutively.



"MSPKELLEY" wrote in message
...
I am running monthly financials in FRX and creating worksheets into excel.
The starting names are different for each property but the tabs need to
have
the same names. Is there anyway to write a macro by placement of tab to
name
the tabs in each separate worksheet over and over again each month?

There are 7 tabs in the final worksheet.

Thanks!



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
Renaming Tabs Lakebum Excel Discussion (Misc queries) 3 December 26th 06 09:43 PM
renaming worksheet tabs calibronco Excel Discussion (Misc queries) 7 November 26th 05 01:02 AM
Renaming Tabs ANDY73 Excel Discussion (Misc queries) 5 July 28th 05 09:42 AM
Renaming tabs Duncan J Excel Programming 3 February 11th 04 10:01 PM
Renaming worksheet tabs Dave[_31_] Excel Programming 4 October 14th 03 04:38 PM


All times are GMT +1. The time now is 05:04 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"