Thread
:
Rename active sheet with current file name
View Single Post
#
4
Posted to microsoft.public.excel.programming
Ardus Petus
external usenet poster
Posts: 718
Rename active sheet with current file name
ActiveSheet.name=Left(ActiveWorkbook.name, Len(Activeworkbook.name)-4)
HTH
--
AP
a écrit dans le message de news:
...
thxs!! - how can i remove the .xls from the name
Ardus Petus wrote:
Sub tester()
ActiveSheet.name=ActiveWorkbook.name
end sub
HTH
--
AP
a écrit dans le message de news:
...
Does anybody has a macro which would rename my active sheet with
current file name?
Thxs
Reply With Quote
Ardus Petus
View Public Profile
Find all posts by Ardus Petus