![]() |
How do I insert the file name as my Worksheet name in the tab?
I was wondering how do I automatically instert my file name as my tab name
instead of "Sheet 1" without having to right click and select "rename" and typing the file name into the tab? |
How do I insert the file name as my Worksheet name in the tab?
Try this tiny macro:
Sub hdksa() ActiveSheet.Name = ActiveSheet.Parent.Name End Sub -- Gary''s Student - gsnu200790 "Dennis" wrote: I was wondering how do I automatically instert my file name as my tab name instead of "Sheet 1" without having to right click and select "rename" and typing the file name into the tab? |
All times are GMT +1. The time now is 08:28 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com