Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Does anybody has a macro which would rename my active sheet with
current file name? Thxs |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thxs - work great !!
Ardus Petus wrote: 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 |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
try
ActiveSheet.Name = Left(ActiveWorkbook.Name, Len(ActiveWorkbook.Name) - 4) Duncan wrote: 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
using VBA to rename active sheet | Excel Programming | |||
Rename active sheet | Excel Programming | |||
Rename current sheet | Excel Programming | |||
Rename active sheet | Excel Programming | |||
Rename Active Sheet | Excel Programming |