B Brendon Joined Aug 2, 2015 Messages 1 Reaction score 0 Aug 2, 2015 #1 I have been trying to write a macro to change a command button caption to the data in a cell Sub Bouton97_Cliquer() UserForm1.CommandButton97.Caption = Sheet1.Range("B13") End Sub But I can't get it to work. Would appreciate any help Bren
I have been trying to write a macro to change a command button caption to the data in a cell Sub Bouton97_Cliquer() UserForm1.CommandButton97.Caption = Sheet1.Range("B13") End Sub But I can't get it to work. Would appreciate any help Bren
R Ronald Paul Joined Feb 18, 2015 Messages 6 Reaction score 0 Aug 19, 2015 #2 Try: UserForm1.CommandButton97.Caption = Sheets("Sheet1").Range("B13").value Hope that helps.