+ Reply to Thread
Results 1 to 4 of 4

Scheduled Programs - Personal Macro Workbook Dialog Stalling my Program

  1. #1
    Registered User
    Join Date
    01-15-2008
    Posts
    16

    Scheduled Programs - Personal Macro Workbook Dialog Stalling my Program

    Hello-

    I've automated a few different vba procedures by setting up xlsm templates (workbook_open event). I'm opening these from the task scheduler. It's difficult to determine when these tasks will end due to changing data sets (one is from a web api that pulls over 100,000 records and this data set changes).

    Anyway, if one of these templates is opened before the preceding template has executed the Application.Quit method a "Read Only" dialog for the Personal Macro Workbook appears and my program stalls out until I can click it. Wondering if there is a programmatic way to suppress the Personal Macro Workbook dialog.

    Thanks for the help.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Scheduled Programs - Personal Macro Workbook Dialog Stalling my Program

    Why is Personal being changed by the macro?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    01-15-2008
    Posts
    16

    Re: Scheduled Programs - Personal Macro Workbook Dialog Stalling my Program

    It's not being changed. When my first task executes it opens the application with my personal macro workbook enabled. When the second task runs it creates a new instance of excel. This is when the dialog shows up saying that my Personal Macro Workbook is read only because it's already "in use" - although I'm not using it at all - in the first application.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Scheduled Programs - Personal Macro Workbook Dialog Stalling my Program

    Ah.

    Please Login or Register  to view this content.

+ 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