Can I reference a textbox in a formula in Excel

  • Thread starter Thread starter SteveW
  • Start date Start date
The easiest way to implement this is to have a macro copy the text from the
textbox and store it in a cell.

The formula could then reference the cell in the usual way.

Sub dural2()
Dim s As String
s = "Text Box 1"
Sheets("Sheet1").Shapes(s).Select
Range("Z100").Value = Selection.Characters.Text
End Sub
 
Back
Top