+ Reply to Thread
Results 1 to 3 of 3

I want the shared excel workbook to open at the current week not at start of workbook

  1. #1
    Registered User
    Join Date
    11-26-2011
    Location
    Yeovil, england
    MS-Off Ver
    365
    Posts
    73

    I want the shared excel workbook to open at the current week not at start of workbook

    Hi,

    I have a workbook that has tabs for weeks at the bottom and each sheet has the days of the week on it. When it was a stand alone workbook if you saved it , it would open where ou saved it. Now I have shared it, it opens at the first tab, first sheet of the workbook. Is there anyway to override this?

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: I want the shared excel workbook to open at the current week not at start of workbook

    Hi there,

    Try inserting the following code into the ThisWorkbook VBA CodeModule of your workbook and see if it does what you need:

    Please Login or Register  to view this content.
    Please note that (for testing purposes) I've added 365 to today's date, because all of the worksheets in the workbook you posted are dated 2020.


    Hope this helps - please let me know how you get on.

    Regards,

    Greg M
    Attached Files Attached Files

  3. #3
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: I want the shared excel workbook to open at the current week not at start of workbook

    Hi again,

    Many thanks for the Reputation increase - much appreciated!

    Glad I was able to help.

    Best regards,

    Greg M

+ 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] Macro to open a workbook, grab data based on the last date updated in the current workbook
    By jbeets in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-15-2016, 01:58 PM
  2. [SOLVED] need to open a montly workbook based on a date in current workbook
    By AWITCHER in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-27-2015, 03:02 PM
  3. Open a workbook off my desktop then closing current workbook
    By superchew in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-18-2013, 03:34 PM
  4. Excel Log: VBA to Add Row(s) Upon Workbook Open Last through Current Date
    By jdppep in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-05-2013, 04:22 PM
  5. Open workbook, copy rows, paste to end of current workbook
    By gmn734 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-25-2013, 05:16 AM
  6. How to open,save and close another workbook from the current workbook using macro?
    By ravikumar00008 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-15-2012, 10:42 AM
  7. Shared Workbook (Workbook Open Code)
    By Chard in forum Excel General
    Replies: 5
    Last Post: 05-30-2007, 09:04 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