I am trying to add an email address to a sheet via VBA and get an Object Required error. What's missing from the code? TB_Email1 is a text box in a userform
Code:
Hyperlinks.Add Anchor:=Sheets("Crew").Cells(NextRow, 10), Address:=_
"Mailto:" + TB_Email1.Value, TextToDisplay:=TB_Email1.Value