Eat More Bacon
Member
I have a textbox that I want to display the info in B42.
B42 contains a textjoin formula, which means it changes when I input info in another cell. If I link the textbox to b42, it does not automatically update. Not sure why.
So I copied this neat macro and assigned it to a button, so whenever I want to update the textbox, I click on the button and run this macro.
>>> use code - tags <<<
Now my problem is that when I copy the sheet, the copied sheet textbox is named "textbox 9" and the macro doesn't work.
What are my options?
Thanks!
B42 contains a textjoin formula, which means it changes when I input info in another cell. If I link the textbox to b42, it does not automatically update. Not sure why.
So I copied this neat macro and assigned it to a button, so whenever I want to update the textbox, I click on the button and run this macro.
>>> use code - tags <<<
Code:
Sub Do_It()
With ActiveSheet
.Shapes("TextBox 2").TextFrame.Characters.Text = .Range("B42")
End With
End Sub
What are my options?
Thanks!
Last edited by a moderator: