+ Reply to Thread
Results 1 to 4 of 4

Remove Mystery Enable Macro Event on WB open

  1. #1
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Austin
    Posts
    660

    Remove Mystery Enable Macro Event on WB open

    Hi all,

    I've got a child workbook which is created from a source/parent workbook, worksheet.
    (a worksheet saved as a new workbook).

    This child workbook after creation, has worksheet objects embedded on the sheet and
    module codes. I've have code that is run which removes all the sheet objects and
    macros from the workbook. When I open the newly created workbook, I get a
    the "Security" message window appearing which gives the user the option to
    disable or enable all macros. Looking in the VBA project for the workbook shows no
    module macros or sheet macro. I'm bewildered as to why I'm getting the enable macro
    window popping up on workbook open.

    I've attached a copy of the child workbook for review. If anyone can please tell my why this is happening and how to resolve this issue, i sure would appreciate it.

    Thanks,


    BDB
    Attached Files Attached Files

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Remove Mystery Enable Macro Event on WB open

    The size of this file is disproportional.

    I removed all columns/rows that didn't contain data.
    I changed the workbook property keepchangehistory to False.
    I changed the workbook property updateremotereferences to False.
    I saved the workbook (23K)
    I opened it: no warnings any more.



  3. #3
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Austin
    Posts
    660

    Re: Remove Mystery Enable Macro Event on WB open

    How do I auto fix this using code?

  4. #4
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Remove Mystery Enable Macro Event on WB open

    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