VBA Disable Error Messages

Mighty Whites

New Member
Joined
Sep 18, 2008
Messages
49
Hi,

I'm pretty certain there is a way to disable any error messages using VB coding and I was wondering if someone could point me in the right direction.

I believe it is done using the 'Application.' function but am not 100% sure
 

Some videos you may like

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

VoG

Legend
Joined
Jun 19, 2002
Messages
63,651
Or perhaps

Code:
Application.DisplayAlerts = False
 

slmandle

New Member
Joined
Dec 9, 2015
Messages
1
any ideas how to stop this happening from vbscript ?

the above entries don't stop fatal errors from showing
 

Mike Blackman

Well-known Member
Joined
Jun 8, 2007
Messages
2,494
any ideas how to stop this happening from vbscript ?

the above entries don't stop fatal errors from showing
What are trying to do with vbs? I don't believe vbs has error handling to the same level vba has so the solution would be different, can you give a little bit of detail for your problem?
 

Watch MrExcel Video

Forum statistics

Threads
1,096,303
Messages
5,449,560
Members
405,571
Latest member
Flux1234

This Week's Hot Topics

Top