Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default QUERY halts VBA

Hi,

Internet is really helpful !

I found somebody had exactly the same troubles. Solution came after
inserting at the beginning of the code:

Application.EnableCancelKey = xlDisabled

All run fine now!

HTH,
Sharon

"Joel" wrote:

What does the continue box say?

Usually if your are perfroming a query more than once you are overwriting
the previous data and the message box verifies that you want to overwrite the
previous query data. Onme solution is to write each query to its own
worksheet.

"sharon" wrote:

Hi,

I have a macro with 4 querys to URL files.
When I debug the macro manually it works OK, but when executing the macro,
VBA halts and wait for USER input. If I select to "Continue" everything goes
fine.

How can I avoid this step?

TIA,
Sharon

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
"ClearContents" command halts code Dave O Excel Discussion (Misc queries) 3 January 10th 08 03:39 PM
This Macro halts any ideas what could be wrong pano Excel Worksheet Functions 4 February 24th 07 06:26 AM
Computer halts while opening an excel file?? Dave Setting up and Configuration of Excel 0 March 23rd 06 09:15 AM
Sub halts with Run-time error '-2147024809 (80070057) specified value is out of range Max Excel Programming 11 March 8th 06 11:03 PM
VBA code halts after opening a file Bill in Inverness Excel Programming 7 February 2nd 04 12:41 PM


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