Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    New Lounger
    Join Date
    May 2008
    Location
    Jamestown, Worcestershire, USA
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am running a macro from Excel that opens other Excel workbooks with Workbooks.Open. Some of those workbooks have macros that automatically run when opened, and that is causing a problem. Does anyone know how to disable the macros of a workbook being opened from VB. When manually opening, one gets a prompt to Enable Macros or Disable Macros, but what is the equivalent in VB?

  2. #2
    New Lounger
    Join Date
    May 2008
    Location
    Jamestown, Worcestershire, USA
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am running a macro from Excel that opens other Excel workbooks with Workbooks.Open. Some of those workbooks have macros that automatically run when opened, and that is causing a problem. Does anyone know how to disable the macros of a workbook being opened from VB. When manually opening, one gets a prompt to Enable Macros or Disable Macros, but what is the equivalent in VB?

  3. #3
    New Lounger
    Join Date
    May 2008
    Location
    Jamestown, Worcestershire, USA
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am running a macro from Excel that opens other Excel workbooks with Workbooks.Open. Some of those workbooks have macros that automatically run when opened, and that is causing a problem. Does anyone know how to disable the macros of a workbook being opened from VB. When manually opening, one gets a prompt to Enable Macros or Disable Macros, but what is the equivalent in VB?

  4. #4
    New Lounger
    Join Date
    May 2008
    Location
    Jamestown, Worcestershire, USA
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am running a macro from Excel that opens other Excel workbooks with Workbooks.Open. Some of those workbooks have macros that automatically run when opened, and that is causing a problem. Does anyone know how to disable the macros of a workbook being opened from VB. When manually opening, one gets a prompt to Enable Macros or Disable Macros, but what is the equivalent in VB?

  5. #5
    New Lounger
    Join Date
    May 2008
    Location
    Jamestown, Worcestershire, USA
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am running a macro from Excel that opens other Excel workbooks with Workbooks.Open. Some of those workbooks have macros that automatically run when opened, and that is causing a problem. Does anyone know how to disable the macros of a workbook being opened from VB. When manually opening, one gets a prompt to Enable Macros or Disable Macros, but what is the equivalent in VB?

  6. #6
    New Lounger
    Join Date
    May 2008
    Location
    Jamestown, Worcestershire, USA
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am running a macro from Excel that opens other Excel workbooks with Workbooks.Open. Some of those workbooks have macros that automatically run when opened, and that is causing a problem. Does anyone know how to disable the macros of a workbook being opened from VB. When manually opening, one gets a prompt to Enable Macros or Disable Macros, but what is the equivalent in VB?

  7. #7
    New Lounger
    Join Date
    May 2008
    Location
    Jamestown, Worcestershire, USA
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am running a macro from Excel that opens other Excel workbooks with Workbooks.Open. Some of those workbooks have macros that automatically run when opened, and that is causing a problem. Does anyone know how to disable the macros of a workbook being opened from VB. When manually opening, one gets a prompt to Enable Macros or Disable Macros, but what is the equivalent in VB?

  8. #8
    New Lounger
    Join Date
    May 2008
    Location
    Jamestown, Worcestershire, USA
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am running a macro from Excel that opens other Excel workbooks with Workbooks.Open. Some of those workbooks have macros that automatically run when opened, and that is causing a problem. Does anyone know how to disable the macros of a workbook being opened from VB. When manually opening, one gets a prompt to Enable Macros or Disable Macros, but what is the equivalent in VB?

  9. #9
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,436
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    I just ran a quick test to refresh my memory and Auto_Open macros do Not run when the workbook is
    opened by Workbook.open.

    Do you have some other types of auto execute macros, perhaps triggered by an event?

    RG
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  10. #10
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,436
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    I just ran a quick test to refresh my memory and Auto_Open macros do Not run when the workbook is
    opened by Workbook.open.

    Do you have some other types of auto execute macros, perhaps triggered by an event?

    RG
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  11. #11
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,436
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    I just ran a quick test to refresh my memory and Auto_Open macros do Not run when the workbook is
    opened by Workbook.open.

    Do you have some other types of auto execute macros, perhaps triggered by an event?

    RG
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  12. #12
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,436
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    I just ran a quick test to refresh my memory and Auto_Open macros do Not run when the workbook is
    opened by Workbook.open.

    Do you have some other types of auto execute macros, perhaps triggered by an event?

    RG
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  13. #13
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,436
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    I just ran a quick test to refresh my memory and Auto_Open macros do Not run when the workbook is
    opened by Workbook.open.

    Do you have some other types of auto execute macros, perhaps triggered by an event?

    RG
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  14. #14
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,436
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    I just ran a quick test to refresh my memory and Auto_Open macros do Not run when the workbook is
    opened by Workbook.open.

    Do you have some other types of auto execute macros, perhaps triggered by an event?

    RG
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  15. #15
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,436
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    I just ran a quick test to refresh my memory and Auto_Open macros do Not run when the workbook is
    opened by Workbook.open.

    Do you have some other types of auto execute macros, perhaps triggered by an event?

    RG
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •