+ Reply to Thread
Results 1 to 3 of 3

Auto_Open is not activating the Personal workbook.

  1. #1
    Registered User
    Join Date
    05-11-2015
    Location
    West Cornwall, UK
    MS-Off Ver
    2010
    Posts
    55

    Auto_Open is not activating the Personal workbook.

    Hi Guys, Girls and Gurus,

    I put the code below onto my computer and my friends computer some time ago.


    Please Login or Register  to view this content.
    Both computers are using Windows 7 and Excel 2010.
    When exiting Excel a userform would be activated, reminding us to back-up our data. This has been working fine for months. Today hers has stopped working but mine continues.

    We have checked that the Excel “Trust Center Settings” on both computers are the same and “believe” they are.

    On her computer, if we open an Excel file then exit Excel the userform “does not” activate,
    On my computer, if we open an Excel file then exit Excel the userform “does” activate.

    On both computers, if we open Excel then open Personal.xlsm, then close Excel the userform is activated and we get the reminder to back-up our data.

    So, it “seems” the Auto_Open is not activating the Personal workbook when Excel is opened on her computer (is that even possible?)

    Your thoughts would be appreciated,
    Tina

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Auto_Open is not activating the Personal workbook.

    Hi TG58,

    It is possible that Excel scheduling of Macros is disabled on one computer.

    Try the following on the computer that does not work.
    a. Go into the Immediate Window in the debugger (CTRL G in VBA).
    b. Execute the following command in the Immediate Window: Application.EnableEvents = True
    c. Execute the Auto_Open() macro.
    d. See if the UserForm comes to life when you expect it.

    Lewis

  3. #3
    Registered User
    Join Date
    05-11-2015
    Location
    West Cornwall, UK
    MS-Off Ver
    2010
    Posts
    55

    Re: Auto_Open is not activating the Personal workbook.

    Hi Lewis thank you for your reply.

    I opened a much used workbook and then I followed your suggestion but when it came to executing the Auto_Open macro it was not avaliable.

    As I mentioned in my first post, "So, it “seems” the Auto_Open is not activating the Personal workbook when Excel is opened on her computer (is that even possible?)"

    I looked deeper comparing things on both computers and have found the problem.

    The "personal.xlsm" workbook is stored, as expected, in C:\Users\KG\AppData\Roaming\Microsoft\Excel\XLSTART but on the other computer the sub-folder XLSTART is empty and the "personal.xlsm" file is in my documents.

    I beleive her when she tells me that she has not touched it as the AppData folder is hidden on her computer, also she did not know of the existance of the "personal.xlsm" file or what it did.

    As no other person has acess to her computer, I have no answer to how or why it moved, but having copied it back to the correct place everything "seems" to be working correctly at the moment.

    Tina

+ 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] personal.xls auto_open macro needs name of "trigger file"
    By Mike Bush in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-01-2012, 11:34 AM
  2. Help in Opening a Workbook and Activating it
    By hungyzerglin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-10-2012, 04:04 PM
  3. Auto_Open Macro in a Personal Workbook
    By DanBlum in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-16-2012, 11:34 AM
  4. Activating Workbook
    By szabo in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-24-2008, 11:47 PM
  5. Auto_Open Message Box, but option to disable Auto_Open
    By stir-crazy in forum Excel General
    Replies: 2
    Last Post: 12-06-2007, 08:31 PM
  6. VBA to write Auto_Open sub into existing workbook
    By grime in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-08-2006, 05:44 PM
  7. [SOLVED] activating a workbook
    By VB Script for Excel in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-22-2006, 04:10 AM
  8. Personal macro workbook and personal.xls
    By John Kilkenny in forum Excel General
    Replies: 1
    Last Post: 06-14-2005, 05:05 PM

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