+ Reply to Thread
Results 1 to 3 of 3

Activating a worksheet with a daily changing name, using a single macro

  1. #1
    Registered User
    Join Date
    12-09-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    21

    Activating a worksheet with a daily changing name, using a single macro

    Hi all,

    So I currently deal with reports that get generated daily. The names remain the same, except for the new date for each one. So, today's filename would be "DAILY REPORT 20101213.xls", for example.

    What I'm trying to figure out is if it's possible to write something which will be able to call each day's format in the yyyymmdd format and then concatenate it with the rest of the file-name which is saved as a regular string. Or do something which would achieve a similar affect.

    Any input would be gratefully received!

    Thanks in advance.

  2. #2
    Registered User
    Join Date
    12-09-2010
    Location
    Essex, England
    MS-Off Ver
    Excel 2002
    Posts
    41

    Re: Activating a worksheet with a daily changing name, using a single macro

    I don't fully understand what you're trying to do, but:

    Please Login or Register  to view this content.
    Is that what you're looking for?

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Activating a worksheet with a daily changing name, using a single macro

    It's not a worksheet, it's a workbook. You need something like this. Post your existing code if you can't figure it out

    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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