G
Guest
Hi,
This NG provided me with the formula below to find a number on Col B based
on the date(s) on Column A.
Please edit the formula to find the number on Col B based on the "month" on
Col A.
Thank you.
Sub FindNumber()
Dim rngData As Range
Dim strPWord As String
Set rngData = Worksheets("FindNumber").Range("A:B")
strPWord = CStr(Application.VLookup(CLng(Date), rngData, 2, 0))
MsgBox strPWord
End Sub
This NG provided me with the formula below to find a number on Col B based
on the date(s) on Column A.
Please edit the formula to find the number on Col B based on the "month" on
Col A.
Thank you.
Sub FindNumber()
Dim rngData As Range
Dim strPWord As String
Set rngData = Worksheets("FindNumber").Range("A:B")
strPWord = CStr(Application.VLookup(CLng(Date), rngData, 2, 0))
MsgBox strPWord
End Sub