+ Reply to Thread
Results 1 to 2 of 2

how to create a new sheet with today's date

  1. #1
    Forum Contributor
    Join Date
    03-03-2004
    Location
    mumbai
    MS-Off Ver
    2003,2007
    Posts
    151

    how to create a new sheet with today's date

    I have a worksheet, the first sheet is “template”, everyday I right click on it and click on create a copy and rename that sheet with today’s date. Now what I want is whenever I right click on “template” and click on create a new copy it should create a new sheet with today’s date (mm/dd/yy/).

    Can anyone please help me out.
    Thanks in advance.
    thank you

  2. #2
    Ron de Bruin
    Guest

    Re: how to create a new sheet with today's date

    Hi mangesh

    You can create a macro to do this and assign it to a button on the sheet

    Sub test()
    Sheets("template").Copy after:=Sheets(Sheets("template").Index)
    On Error Resume Next
    ActiveSheet.Name = Format(Date, "mm-dd-yy")
    On Error GoTo 0
    End Sub

    You can not use the / in the sheet name



    --
    Regards Ron de Bruin
    http://www.rondebruin.nl


    "mangesh" <mangesh.24tupa_1142621401.8786@excelforum-nospam.com> wrote in message
    news:mangesh.24tupa_1142621401.8786@excelforum-nospam.com...
    >
    > I have a worksheet, the first sheet is "template", everyday I right
    > click on it and click on create a copy and rename that sheet with
    > today's date. Now what I want is whenever I right click on "template"
    > and click on create a new copy it should create a new sheet with
    > today's date (mm/dd/yy/).
    >
    > Can anyone please help me out.
    > Thanks in advance.
    >
    >
    > --
    > mangesh
    >
    >
    > ------------------------------------------------------------------------
    > mangesh's Profile: http://www.excelforum.com/member.php...fo&userid=6746
    > View this thread: http://www.excelforum.com/showthread...hreadid=523691
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1