ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can I get each worksheet tab name to pull from cell C3? (https://www.excelbanter.com/excel-discussion-misc-queries/189652-how-can-i-get-each-worksheet-tab-name-pull-cell-c3.html)

BZ

How can I get each worksheet tab name to pull from cell C3?
 
Is there anyway to get Sheet 1's name to pull whatever is in cell C3 and
change the "Sheet 1" title to that cells content?

Gary''s Student

How can I get each worksheet tab name to pull from cell C3?
 
Run this small macro:

Sub nameit()
For Each ws In Worksheets
ws.Name = ws.Range("C3").Value
Next
End Sub

--
Gary''s Student - gsnu200789


"BZ" wrote:

Is there anyway to get Sheet 1's name to pull whatever is in cell C3 and
change the "Sheet 1" title to that cells content?



All times are GMT +1. The time now is 11:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com