Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Suppress messages/warnings using Workbooks.Open

Hi

I'm writing an automated test using C# and Nunit, that are to open an Excel
workbook, insert values, call a macro and then check the resulting values in
a SQL Server table. At present I'm passing a value of 2 to teh Updatelinks
paramter.

As this is an automated test, I don't want user interaction.

The problem I'm having is that there are a few messages that still appear.
Firstly, one saying that remote data is not accessable which appears to be a
warning that an application isn't on my PC. I simply want to ignore this
message. Secondly, the message that the workbook contains links that cannot
be updated and "Continue" and "Edit Links..." buttons.

I need these suppressed. Any ideas how?

Regards


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I suppress the enable macros and save changes messages? Ron in Walnut Creek Excel Worksheet Functions 4 October 29th 09 08:36 PM
Messages after saving in sharerd workbooks Matthew McManus Excel Discussion (Misc queries) 1 June 9th 05 08:09 AM
Suppress warnings when saving text file? Snowsride - ExcelForums.com Excel Programming 2 October 12th 04 01:06 PM
suppress warnings Claude Excel Programming 2 April 21st 04 12:57 PM
Removing Macro Virus Warnings Upon File Open Wendy[_4_] Excel Programming 2 August 8th 03 04:07 PM


All times are GMT +1. The time now is 05:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"