vijay vj
asked on
How to copy values from one sheet to another at specific time
Dear sir,
I have excel where data is auto updated for every 1min and i need to copy data from mainsheet to another sheet at specific time i.e at 10 am in morning and 11 am in morning and this has to be done daily in a week, can anyone help...thanks
OLH-nse50.xlsx
I have excel where data is auto updated for every 1min and i need to copy data from mainsheet to another sheet at specific time i.e at 10 am in morning and 11 am in morning and this has to be done daily in a week, can anyone help...thanks
OLH-nse50.xlsx
This would only work if the workbook is open at those times.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks sir, tomo morning i have to test and post my result, i think it will work perfectly..
ASKER
Sir VBA starts updating at 10.00 am and keeps on going on, but i need only at 10.00 am value, is it possible to capture like that or some thing like between 9.30 to 10am value and 10am to 11 am value .. sir
Hi Vijay,
Add this code in Update_at_10am at the end above Application.ScreeenUpdatin g = True
= True
Add this code in Update_at_10am at the end above Application.ScreeenUpdatin
Application.OnTime TimeValue("10:00:00"), "Update_at_10am", , False
Same way add below code in Update_at_11am at the end above Application.ScreenUpdatingApplication.OnTime TimeValue("11:00:00"), "Update_at_11am", , False
ASKER
I will change time and check it now sir........
ASKER
VBA working perfectly sir
Thanks Vijay,
For your points and comments.
For your points and comments.