![]() |
|
#1
|
|||
|
|||
![]()
Hi,
As usual I found a solution as to my problem after a request from you. Would still like see what I did wrong with the code that I have in the file. Charles |
#2
|
||||
|
||||
![]() Quote:
Code:
Sub FindDate() Dim strdate As String, rCell As Range, lReply As Long strdate = Format(Sheets("Sheet2").Cells(2, 4).Text, "mmm") Set rCell = Sheets("Sheet1").Cells.Find(What:=strdate, LookIn:=xlValues, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False) If Not rCell Is Nothing Then MsgBox rCell.Address End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
if cell contains date, then month, else blank | Merlot | Excel | 7 | 03-20-2025 08:16 AM |
![]() |
SavGDK | Excel | 2 | 06-24-2016 08:05 AM |
Excel day date month year Function | greginky | Excel | 1 | 01-05-2016 02:19 AM |
![]() |
MattG1225 | Excel | 2 | 12-03-2015 07:44 AM |
Formula to subtract one month from due date field in reminder field | ghumdinger | Outlook | 1 | 10-01-2011 12:09 AM |