loloelpalomero
New Member
- Joined
- Sep 16, 2008
- Messages
- 12
Hello all. I would swear that I have seen this kind of syntax for ontime somewhere:
But if I try to use it, a Type Mismatch error 13 appears. If I use a real time value like next one the function works:
I am trying to use cell values for drawing a bar while time increases. Times are in cells and I would like to use the cells references as values for TimeValue.
I have been searching in the forum but I haven't found a similar case.
Help would be appreciated.
Thanks in advanced.
Code:
Application.OnTime TimeValue([A1]), "colorbg_macro"
Code:
Application.OnTime TimeValue("13:10:00"), "colorbg_macro"
I have been searching in the forum but I haven't found a similar case.
Help would be appreciated.
Thanks in advanced.
Last edited: