+ Reply to Thread
Results 1 to 8 of 8

Page tabs

  1. #1
    Registered User
    Join Date
    03-20-2011
    Location
    Perth Scotland
    MS-Off Ver
    Excel 2007
    Posts
    7

    Page tabs

    Hi,

    Is it possible to set up my work book to open on the current date? i.e A work book with a page tab for each day, information on each tab, when opened can it default to today's date?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Page tabs

    Copy this code to the "thisworkbook" module

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-20-2011
    Location
    Perth Scotland
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Page tabs

    Thanks for the speedy reply, sorry,but where do i paste the formula?

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Page tabs

    In excel press Alt F11 to open the code editor window.

    An the top left pane look for "ThisWorkbook", should be at the bottom so you will need to scroll down.

    When you find it, double click to open the module, then paste the code into right pane.

  5. #5
    Registered User
    Join Date
    03-20-2011
    Location
    Perth Scotland
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Page tabs

    Thanks, found how to do that,but, I get the following message, see attached
    Attached Images Attached Images

  6. #6
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Page tabs

    You need to save your workbook as xlsm.

    Press F12, then change the "Save as type" dropdown to "excel macro-enabled workbook"

    Then replace your original workbook with the new version.

  7. #7
    Registered User
    Join Date
    03-20-2011
    Location
    Perth Scotland
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Page tabs

    Sorted, many thanks for your help!

  8. #8
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Page tabs

    @ clanmurray

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

+ 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