M
Mike R.
Is there a way to use a string variable as a parameter for
the Cells.Find function when using VBA for Excel. For
example, given:
Function PrintCustomerMessageCell(CMessage As String)
'Place focus on the cell that contains this data
Cells.Find(CustomerMessage).Activate
'I get an error in the line above.
'Tell me what cell it is
MsgBox ActiveCell.AddressLocal(RowAbsolute:=False,
ColumnAbsolute:=False)
End Function
Thank you...
the Cells.Find function when using VBA for Excel. For
example, given:
Function PrintCustomerMessageCell(CMessage As String)
'Place focus on the cell that contains this data
Cells.Find(CustomerMessage).Activate
'I get an error in the line above.
'Tell me what cell it is
MsgBox ActiveCell.AddressLocal(RowAbsolute:=False,
ColumnAbsolute:=False)
End Function
Thank you...