Good afternoon All,
I am trying to write a macro that basically will take a snapshot of cell information at different times during the day. IE:
at 9:15 take a snapshot of cell B1,B2,B3 and put in C1,C2,C3
at 10:00 take a snapshot of cell B1,B2,B3 and put in D1,D2,D3
Basically I am trying to take snapshots of stock prices at about 7 different times during the day. I found this code, I just am unsure how to implement it. Any help would greatly appreciated
I found it here: http://www.ozgrid.com/Excel/run-macro-on-time.htm
"Sub MyMacro()
Application.OnTime
TimeValue("15:00:00"), "MyMacro"'YOUR CODEEnd Sub"
I am not sure what my code would be for Row C to equal Row B and would I put this macro in like 7 times, and just change the time?? Just curious. I figure anyone versed in this thinks I am an idiot and can figure this out in about 15 seconds
. Have a great weekend, and thanks in advanced.
TPA
I am trying to write a macro that basically will take a snapshot of cell information at different times during the day. IE:
at 9:15 take a snapshot of cell B1,B2,B3 and put in C1,C2,C3
at 10:00 take a snapshot of cell B1,B2,B3 and put in D1,D2,D3
Basically I am trying to take snapshots of stock prices at about 7 different times during the day. I found this code, I just am unsure how to implement it. Any help would greatly appreciated
I found it here: http://www.ozgrid.com/Excel/run-macro-on-time.htm
"Sub MyMacro()
Application.OnTime
TimeValue("15:00:00"), "MyMacro"'YOUR CODEEnd Sub"
I am not sure what my code would be for Row C to equal Row B and would I put this macro in like 7 times, and just change the time?? Just curious. I figure anyone versed in this thinks I am an idiot and can figure this out in about 15 seconds
. Have a great weekend, and thanks in advanced.TPA