Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Delay copy & paste of data until web query refreshes?

You can also put a loop until it finds data in Range("E10:N10")..

If this post helps click Yes
---------------
Jacob Skaria


"CM4@FL" wrote:

I need to delay copying my data in cells E10:N:10 while my web query
completely refreshes, after the refresh is complete then can I copy the data.
Can anyone help me with the delay function?

Range("B4:C4").Select
Selection.Copy
Range("E4").Select
ActiveSheet.Paste
Application.CutCopyMode = False
ActiveWorkbook.RefreshAll
********* NEED A DELAY FUNCTION HERE *********
Range("E10:N10").Select
Selection.Copy
Range("E47").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,
SkipBlanks _
:=False, Transpose:=False

Thanks in advance

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
copy chart delay (musa.biralo query) Matthew Dodds Excel Programming 0 April 10th 07 07:50 AM
Copy/Paste in Excel Delay Ray2943 Links and Linking in Excel 1 December 7th 06 12:54 AM
"New Web Query" always refreshes data from website (3 times) Matt Suppa Excel Worksheet Functions 1 February 1st 06 05:50 PM
Simple question: How to get web query to NOT overwrite data when it refreshes? A Smith Excel Programming 2 September 6th 04 04:29 AM
Combo Box value changing when query refreshes LJK Excel Programming 1 December 2nd 03 12:42 AM


All times are GMT +1. The time now is 01:08 PM.

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

About Us

"It's about Microsoft Excel"