ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBA code to populate Excel Tab Text (https://www.excelbanter.com/excel-programming/385989-vba-code-populate-excel-tab-text.html)

Charlie_Brown

VBA code to populate Excel Tab Text
 
I would like to use VBA to enter tab's name in Excel's worksheet tab from a
cell in the worksheet. Lets say I have the word "Mickey Mouse" in cell A1 in
my worksheet. I would like to auto populate the worksheet's tab to show
Mickey Mouse. Any help here?

Incidental

VBA code to populate Excel Tab Text
 
Hi CB

this should work

With ActiveSheet
ActiveSheet.Name = [A1]
End With

S




All times are GMT +1. The time now is 05:12 PM.

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