Solved

Excel VBA

Posted on 2004-08-30
1
476 Views
Last Modified: 2012-06-27
How do you open an excel workbook that has an On_Open() event that you don't want to execute?
0
Comment
Question by:Nobletucky2004
1 Comment
 
LVL 24

Accepted Solution

by:
R_Rajesh earned 50 total points
Comment Utility
if you are opening it manually then you can either set the macro security to high or hold down the shift key while opening the file.

if you are doing it through code then then set the application's AutomationSecurity property to msoAutomationSecurityForceDisable

Application.AutomationSecurity = msoAutomationSecurityForceDisable
Workbooks.Open "c:\MyFile.xls"

Rajesh
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In case Office 2010 has not been deployed in your environment, this article may be quite useful. In our office, we wanted a way to deploy Microsoft Office Professional Plus 2010 through an automated batch file via logon script. This article is docum…
PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now