Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 18th, 2008, 12:03 AM
Registered User
 
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to suppress Excel error message

Our scorecard is a web page created from an Excel file. It contains hyperlinks to corrective action plans (Word files). If the file does not exist, we are seeing the error message. Could someone please provide detail steps and code to suppress the display of these messages? I apologize, but please provide enough detail so I know where to go within Excel to place this code. Thank you.

 
Old February 18th, 2008, 12:42 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Can you try

Application.DisplayAlerts = False

and at the end of the code

you can reset it

Application.DisplayAlerts = True

Cheers
Shasur

http://www.dotnetdud.blogspot.com

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
 
Old February 19th, 2008, 02:15 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Where are you seeing the error? At the server where Excel is running, or at the browser where the user is?





Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the error message for a 500 server error? chobo2 C# 2005 1 May 4th, 2008 03:11 AM
Excel VBA - Send email with html message body elad Excel VBA 1 July 16th, 2007 03:28 PM
How can I suppress "paste errors" message? Mushmouse Access VBA 1 July 17th, 2006 05:50 PM
Error message xzvi0r ADO.NET 1 September 4th, 2003 07:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.