Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default How to suppress XML import error message

I am using Excel 2003 under Vista.

I have a worksheet with several XML tables imported from the web and I use a
macro to refresh all the tables. Sometimes I'd get this error message:

Microsoft Office Excel encountered errors when importing the following
files:

Source: http://www.abc.com
Error: Some data was imported as text
Import Status: Complete

The thing is this error doesn't really matter to me. As long as the import
is complete, it's OK. I don't want to see this message when running the
macro. I tried "On Error Resume Next" but the error message is still
displayed. Is there any way I can make the message go away?

Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default How to suppress XML import error message

Perhaps Application.DisplayAlerts = False

Mike F
"Shatin" wrote in message
...
I am using Excel 2003 under Vista.

I have a worksheet with several XML tables imported from the web and I use
a macro to refresh all the tables. Sometimes I'd get this error message:

Microsoft Office Excel encountered errors when importing the following
files:

Source: http://www.abc.com
Error: Some data was imported as text
Import Status: Complete

The thing is this error doesn't really matter to me. As long as the import
is complete, it's OK. I don't want to see this message when running the
macro. I tried "On Error Resume Next" but the error message is still
displayed. Is there any way I can make the message go away?

Thanks.



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
Suppress error message with saveas [email protected] Excel Programming 4 May 4th 07 08:15 PM
Error message when trying to import csv into Outlook contacts. [email protected] Excel Discussion (Misc queries) 1 April 13th 06 03:15 PM
How to suppress Excel default message Sandy Excel Programming 2 December 21st 05 02:58 AM
Suppress add-in confirmation message Microsoft NewsGroups Excel Programming 2 July 7th 04 06:39 PM
suppress popup message walt Excel Programming 4 August 6th 03 05:33 PM


All times are GMT +1. The time now is 02:17 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"