View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Mike Milmoe Mike Milmoe is offline
external usenet poster
 
Posts: 23
Default Using date as trigger for macro

This worked great. Thanks alot

Mike

"Gary''s Student" wrote:

Sub milmoe()
Set r = Range("A1:A100")
For Each rr In r
If rr.Value = DateValue(Now()) Then
MsgBox ("call your macro here")
End If
Next
End Sub

--
Gary''s Student - gsnu200720


"Mike Milmoe" wrote:

I want to write a macro, that will look for today's date in a database, and
if it finds it, do another action. I have already designed the other action.

Thanks!

Mike