PC Review


Reply
Thread Tools Rate Thread

how can I set up a lag in a macro (like a two minute lag)?

 
 
=?Utf-8?B?U2tpbGxpb25haXJl?=
Guest
Posts: n/a
 
      14th Sep 2007
I need to download info off of Bloomberg and I need a lag to allow the fields
to populate before I paste the values. Any info anyone has on this would be
much appreciated.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmltIFRob21saW5zb24=?=
Guest
Posts: n/a
 
      14th Sep 2007
Take a look at the OnTime function. It initiates a macro after a set period
of time. It will be something like this...

Application.OnTime Now() + TimeSerial(0, 2, 0), "MyProcedureName"
--
HTH...

Jim Thomlinson


"Skillionaire" wrote:

> I need to download info off of Bloomberg and I need a lag to allow the fields
> to populate before I paste the values. Any info anyone has on this would be
> much appreciated.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hi All - How do i get my vba macro to refresh every minute? Sam Microsoft Excel Misc 2 28th Jul 2009 12:22 PM
Hi All - How do i get my vba macro to refresh every minute? Sam Microsoft Excel Programming 1 28th Jul 2009 09:32 AM
How to make a macro run every fifth minute Andreas Ingo Microsoft Excel Programming 1 18th Jun 2008 04:04 PM
How can I automatically run a macro every 1 minute or every 5 minuts Lawrence M. Seldin, CMC, CPC Microsoft Excel Worksheet Functions 2 25th May 2004 10:49 PM
a macro to collect data on a loop every minute. dynamicsoul Microsoft Excel Misc 1 22nd Sep 2003 06:10 PM


Features
 

Advertising
 

Newsgroups
 


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