+ Reply to Thread
Results 1 to 10 of 10

Automatically open on today's date across multiple pages

  1. #1
    Registered User
    Join Date
    12-06-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    6

    Automatically open on today's date across multiple pages

    Hi, Firstly I'll warn you, I'm quite the novice when it comes to VBA, here is what I've been trying to accomplish. I have a workbook that spans several sheets, I would like, upon opening the workbook to always make the cell with today's date the active cell. I can manage to get this to happen on one sheet with the following...

    Please Login or Register  to view this content.
    Can anyone help me so that all the sheets in my workbook are searched upon opening and the active cell will be the cell with today's date? In case it matters, the date will always be in column C, and the sheets will be named with the week of the year, starting on Mondays, for example...Dec 10, Dec 17, Dec 24, etc. Hopefully I've explained everything clearly, if not let me know and I'll be glad to clarify all I can. Thanks!

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Automatically open on today's date across multiple pages

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-06-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Automatically open on today's date across multiple pages

    Works like a charm. Thank you, so much, I've spent way too much time the past couple of days trying to figure this one out. I should have just asked.

  4. #4
    Registered User
    Join Date
    12-06-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Automatically open on today's date across multiple pages

    Sorry but, it seems like it will no longer make active today's date if you're on the sheet with today's date, if you're on another sheet it works like a charm. Any ideas?

  5. #5
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Automatically open on today's date across multiple pages

    Quote Originally Posted by theanythingtree View Post
    Sorry but, it seems like it will no longer make active today's date if you're on the sheet with today's date, if you're on another sheet it works like a charm. Any ideas?
    Works for me.
    ]
    Do you have any other code, maybe a Selection_Change event procedure, that could select another cell? Otherwise, could you attach an example workbook?

  6. #6
    Registered User
    Join Date
    12-06-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Automatically open on today's date across multiple pages

    As far as I can tell there is no other code...I'll attach the workbook in question.
    Attached Files Attached Files
    Last edited by theanythingtree; 12-07-2012 at 06:47 PM.

  7. #7
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Automatically open on today's date across multiple pages

    Try this...

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    12-06-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Automatically open on today's date across multiple pages

    Close...now it makes the cell with today's date active, but it still doesn't move the screen to that cell...but only on the sheet with today's date, other sheets work perfect. Sorry for the trouble, this all seemed like it should be so simple when I started.

  9. #9
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Automatically open on today's date across multiple pages

    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    12-06-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Automatically open on today's date across multiple pages

    Perfect!...You are a genius, a master, a miracle worker. I can't thank you enough.

+ 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