+ Reply to Thread
Results 1 to 1 of 1

Remembering/Restoring Window Position on Workbook Close/Open Events with Shared Workbooks

  1. #1
    Registered User
    Join Date
    07-10-2014
    Location
    Red Deer, Canada
    MS-Off Ver
    2010
    Posts
    10

    Remembering/Restoring Window Position on Workbook Close/Open Events with Shared Workbooks

    Hi,

    First thanks for considering my problem.

    Basically I'm trying to implement an auto-saving feature to occur every minute in a workbook I'm creating.

    The following code works perfectly when the workbook is exclusive, (not shared) but once I hit the share workbook button the Window position (or scroll location) reverts to the Window position of the last manual save when the AutoSave sub is run. The code still saves the workbook with all user edits, but the problem is that my co-workers have found the constant Window Position change that occurs every minute with the AutoSave to be quite annoying (which I totally understand).

    Here is the code that goes into ThisWorkbook:

    Please Login or Register  to view this content.
    And here is the code that goes into a standard Mod:
    Please Login or Register  to view this content.
    Note that the 'Workbooks.Open ActiveWorkbook.FullName' line above will cause the Workbook Open event coded for in ThisWorkBook to run, effectively re-starting the 1 minute timer.

    If anyone has any idea why the above code works in an exclusive workbook, but doesn't in a shared workbook, please let me know.

    Thanks,
    Aiden
    Last edited by AidenS; 08-07-2014 at 07:47 PM.

+ 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. Need to use Workbook Open and Close Events
    By BeachRock in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-28-2013, 11:09 AM
  2. [SOLVED] Open Multiple Workbooks, Record names, Copy paste to Active Workbook, Close the Workbooks
    By vba_madness in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-24-2013, 06:09 AM
  3. Force to close all workbooks (shared) which opened by another users
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2012, 07:08 PM
  4. Open/close events not working correctly
    By talksalot81 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-21-2011, 09:32 AM
  5. Auto open/close and update shared workbook
    By Nord in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-11-2009, 03:34 AM

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