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

S

Skillionaire

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.
 
J

Jim Thomlinson

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"
 
Top