I'm trying to retrieve a cell's value to display in a userform text field.
When I run the code above, I get "Run-time error: '424' Object required"
What does that mean and how do I fix it, please?
Code:
Private Sub UserForm_Initialize()
Call GetData
End Sub
Private Sub GetData()
Dim r As Long
r = Cells(ActiveCell.Row, 78).Value
PMField.Text = Worksheets("GhostData").Cells(r, 132).Value
End Sub
When I run the code above, I get "Run-time error: '424' Object required"
What does that mean and how do I fix it, please?