Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Paul,
Thanks a ton for the code advice. Pretty smooth. I did have to change it a bit so the "Found" cell would be selected and brought into view. This is to allow a visual verification that the date stamp is in the correct place. (End users wishes) The Goof Up message box is the watchdog of that but... Again, thanks a ton Paul, and Chip. Regards, Howard wrote in message ... The alterations are untested. HTH Paul -------------------------------------------------------------------------- ------------------------------------ Be advised to back up your WorkBook before attempting to make changes. -------------------------------------------------------------------------- ------------------------------------ Sub BookReturnDate() Dim aList As Range Dim rngFind as Range Dim Bcode As Variant Bcode = Range("A1").Value If Bcode = "" Then Exit Sub Set aList = Range("G2:G2505") On Error Resume Next Set rngFind = aList.Find(What:=Bcode) If not rngFind is Nothing Then rngFind.Offset(0, 2).Value = Now Else msgbox "Goof Up" End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
colum is not found thats missing a column B how to find it | Excel Worksheet Functions | |||
FIND function does not return ZERO when text is not found | Excel Worksheet Functions | |||
How to find a row since I found a value in a column? see example | Excel Worksheet Functions | |||
Find text in another workbook and paste if found match - VBA | Excel Discussion (Misc queries) | |||
Copy Rows found using Find All feature | Excel Discussion (Misc queries) |