I wonder if anyone can help with this one. I am attempting to use one command button to change the Caption of another, which I will later use to move about the worksheet. In the code you see here I am fetching data from another worksheet to populate the data in the current sheet. The end goal is for the buttons (more to be added if I can figure out this one) to reflect various changes and allow the user to jump to that section.
I looked around for a way to do it, but the only code snippet I found, specifically what you see, returns the error "Object doesn't support this property or method". I need the button text, text color, and button color to be variable, they are key features for what I am trying to do.
Sub Load()
'Load Trip Data to Notes page
Worksheets("Notes").Range("C3").Value = Worksheets("Trips").Range("A3").Value
Worksheets("Notes").Button44.Caption = "Test"
End Sub
Here is the actual code that I finally used. I will note that I didn't learn till later, that because I was putting the code on the worksheet in the VBA objects, I didn't have to actually specifically call out the worksheet at the beginning of the CommandButton 1. I would have worked just fine starting out as CommandButton1.Caption = ......
Worksheets("Notes").CommandButton1.Caption = Worksheets("Notes").Range("C3").Value 'Make Jump to Button