+ Reply to Thread
Results 1 to 2 of 2

Naming new tabs with dates from the cells

Hybrid View

SPACE8ARD Naming new tabs with dates... 03-07-2014, 03:21 AM
bulina2k Re: Naming new tabs with... 03-07-2014, 03:41 AM
  1. #1
    Registered User
    Join Date
    03-05-2014
    Location
    London, UK
    MS-Off Ver
    Excel 2007
    Posts
    8

    Question Naming new tabs with dates from the cells

    Hi Guys,

    I am trying to name the new worksheet tabs using VBA; I found this code (Rondebruin's) which works perfectly but it names the tabs with names, but I want to name them with the (exit) dates, preferably "mmm dd" format,
    and if the sheet exists append the fields else create new worksheet to update the data. I tried to modify the code without any success as my knowledge of VBA is limited. I'll appreciate any help. Thank you.

  2. #2
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    867

    Re: Naming new tabs with dates from the cells

    try this way
    Dim newws As Worksheet
    Set newws = Worksheets.Add(After:=Sheets(Sheets.Count))
    newws.Name = Format(Date, "mmm dd")
    .. and don't forget to have fun!
    Bogdan.

    mark SOLVED and Add Reputation if my answer pleases you

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Naming Tabs
    By Harrytheb in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-10-2013, 01:35 PM
  2. Automatically Naming Tabs with Dates
    By digitalnewbee in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-24-2013, 07:49 AM
  3. Naming tabs
    By Amh in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 08-26-2012, 10:11 PM
  4. Naming multiple tabs and dates
    By daznav in forum Excel General
    Replies: 1
    Last Post: 02-21-2010, 02:39 PM
  5. Help with naming tabs
    By iasiddiqui in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-03-2006, 05:39 PM

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