Hi guys
So I have recorded a macro that changes the formula for a textbox shape. It gave me the following:
ActiveSheet.Shapes("TextBox 1").Select
Selection.Formula = "=A1"
I would like to know how to do this without selecting the shape. Something like:
ActiveSheet.Shapes("TextBox 1").Formula = "=A1"
but of course this code does not work. Any help would be greatly appreciated.
Thanks
So I have recorded a macro that changes the formula for a textbox shape. It gave me the following:
ActiveSheet.Shapes("TextBox 1").Select
Selection.Formula = "=A1"
I would like to know how to do this without selecting the shape. Something like:
ActiveSheet.Shapes("TextBox 1").Formula = "=A1"
but of course this code does not work. Any help would be greatly appreciated.
Thanks