Solved

Disable pop Messages

Posted on 2014-12-27
5
138 Views
Last Modified: 2014-12-28
Hi Experts,

I need to disable all popup messages while executing Code in attached WB.

See attached file.

Thanks
Incorporate.xlsm
0
Comment
Question by:Naresh Patel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 11

Expert Comment

by:Wilder1626
ID: 40519844
Hi,
can try this code when you open you excel file?
Application.DisplayAlerts = False

Open in new window


Ex:

Private Sub Workbook_Open()
Application.DisplayAlerts = False
gstDestinationFolder = GetSetting(APP_CATEGORY, APPNAME, "DestinationFolder", vbNullString)
'gstDestinationFolder = ActiveWorkbook.Path & "\DownZip\"
If gstDestinationFolder <> "D:\AmiBroker Data\NSE\Eq\" Then
    'gstDestinationFolder = ActiveWorkbook.Path & "\DownZip\"
    gstDestinationFolder = "D:\AmiBroker Data\NSE\Eq\"
End If
End Sub

Open in new window

0
 
LVL 31

Accepted Solution

by:
gowflow earned 500 total points
ID: 40520031
Is this what you want ?
gowflow
Incorporate-V03.xlsm
0
 
LVL 8

Author Closing Comment

by:Naresh Patel
ID: 40520236
Awesome....may I new question in line?

Thanks
0
 
LVL 31

Expert Comment

by:gowflow
ID: 40520274
yes pls go ahead sorry time zone difference in replies !!! :)
gowflow
0
 
LVL 8

Author Comment

by:Naresh Patel
ID: 40520383
Here it is.


Thanks
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a serious pitfall that can happen when deleting shapes using VBA.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

632 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