Hi,
I have a sheet with many dates and I am trying to find a specific date
after which it should prompt information to be but next to the date. I
run a macro that brings up a inputbox and ask for the date but then it
is unable to find the specific date. I am not sure what I need to
change below is the code I have:

Dim c As String
c = Application.InputBox("What date are you looking for?", Type:=1)
Cells.Find(What:=c, After:=ActiveCell, LookIn:=xlValues,
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext,
MatchCase:=False _
        , SearchFormat:=False).Activate

Thanks,
Rjorg

--~--~---------~--~----~------------~-------~--~----~
Visit the blog to download Excel tutorials at 
http://www.excel-macros.blogspot.com

To post to this group, send email to excel-macros@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/excel-macros?hl=en

Visit & Join Our Orkut Community at 
http://www.orkut.com/Community.aspx?cmm=22913620

Visit the blog to download Excel tutorials at 
http://www.excel-macros.blogspot.com

To Learn VBA Macros Please visit http://www.vbamacros.blogspot.com

To see the Daily Excel Tips, Go to:
http://exceldailytip.blogspot.com
-~----------~----~----~----~------~----~------~--~---

Reply via email to