
Originally Posted by
cmourati
Hi,
I've attached the spreadsheet. The name and month will be in a signle cell in sheet 1 (A5) and 2 (column C). The value will be unique on the specified column.
The macro will compare the A5 cell to all cells in column C and go to an emptly cell in column F (right of entry and same row as equal value as A5 in sheet 1).
Hi,
no attachment found, but, record a macro and assign a letter to it.
In Tools, Macro, that macro, Edit and replace the code with
Sub FindSpot()
Dim sFindVal As String
sFindVal = Sheets("Sheet1").Range("A5").Value
Sheets("Sheet2").Activate
Cells.Find(What:=sFindVal, After:=Cells(1, 3), LookIn:=xlValues, LookAt:= _
xlPart, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Activate
ActiveCell.Offset(0, 3).Select
End Sub
Then CTRL letter
or CTRL Shift Letter
should take you to the spot.
let me know how you go
---
Bookmarks