Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Vispy
 
Posts: n/a
Default Naming a sheet after a value in a cel of that sheet

Is there a way to name the sheet or a tab of the sheet with a value of a
cell on that sheet?


====== SNIP

Cells.Select
Selection.Copy
Windows("Verification.xls").Activate
ActiveSheet.Paste
Range("A1").Select
Sheets("Sheet6").Select
Sheets("Sheet6").Name = "2" <<<===== manually added but the value is
on cell D1 of that sheet.

====== SNIP

Thanks!!



  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default Naming a sheet after a value in a cel of that sheet

Try

Worksheets("Sheet6").Name = Worksheets("Sheet6").Range("A1").Text


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Vispy" wrote in message
...
Is there a way to name the sheet or a tab of the sheet with a
value of a
cell on that sheet?


====== SNIP

Cells.Select
Selection.Copy
Windows("Verification.xls").Activate
ActiveSheet.Paste
Range("A1").Select
Sheets("Sheet6").Select
Sheets("Sheet6").Name = "2" <<<===== manually added but
the value is
on cell D1 of that sheet.

====== SNIP

Thanks!!





  #3   Report Post  
Posted to microsoft.public.excel.misc
Vispy
 
Posts: n/a
Default Naming a sheet after a value in a cel of that sheet

Worked great!!! Thanks!

"Chip Pearson" wrote in message
...
Try

Worksheets("Sheet6").Name = Worksheets("Sheet6").Range("A1").Text


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Vispy" wrote in message
...
Is there a way to name the sheet or a tab of the sheet with a
value of a
cell on that sheet?


====== SNIP

Cells.Select
Selection.Copy
Windows("Verification.xls").Activate
ActiveSheet.Paste
Range("A1").Select
Sheets("Sheet6").Select
Sheets("Sheet6").Name = "2" <<<===== manually added but
the value is
on cell D1 of that sheet.

====== SNIP

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
lock tab in sheet 2 until cell in sheet one is completed john tempest Excel Worksheet Functions 7 November 24th 05 08:45 AM
Index/Contents Sheet philiphales Excel Discussion (Misc queries) 2 September 9th 05 08:58 AM
In Excel, how do you make one whole sheet equal to another. ryan Excel Discussion (Misc queries) 2 August 31st 05 07:03 PM
Clicking Cell Link Changes Cell on Another Sheet nshah Excel Discussion (Misc queries) 1 August 31st 05 01:50 AM
Using a relative SHEET reference for source data in a chart James Charts and Charting in Excel 6 August 16th 05 05:07 PM


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