Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I want to put in the sheet name tab the actual date. I have tried the following macro but it does not work: Sub nombrar() Dim fecha As String fecha = Date ActiveCell.Value = fecha ‘this is only for testing that fecha is a string with the date ActiveSheet.Name = fecha End Sub I get an error in the last line. If I put fecha between quotes I get the name fecha of course, insted of his value -- MónicaM ------------------------------------------------------------------------ MónicaM's Profile: http://www.excelforum.com/member.php...o&userid=22523 View this thread: http://www.excelforum.com/showthread...hreadid=374562 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Naming a sheet | Excel Discussion (Misc queries) | |||
naming sheet tab | Excel Worksheet Functions | |||
Naming Sheet | Excel Discussion (Misc queries) | |||
Sheet naming | Excel Programming | |||
Naming a new sheet. | Excel Programming |