Not sure if this is possible, I can't seem to figure it out.
I made a custom ribbon menu, which is stored in the Excel.officeUI file. For one of the button labels (or description) I would like to have it display a variable in a stored xla file. Is there a way to do something like:
variabletouse = "test123" in macro sub stored in macro.xla saved in c:/data/
Modifying the Excel.officeUI file for the button to be:
label="This is " & c:/data/macro.xla!macro (variabletouse)
so that the label reads "This is test123"
I made a custom ribbon menu, which is stored in the Excel.officeUI file. For one of the button labels (or description) I would like to have it display a variable in a stored xla file. Is there a way to do something like:
variabletouse = "test123" in macro sub stored in macro.xla saved in c:/data/
Modifying the Excel.officeUI file for the button to be:
label="This is " & c:/data/macro.xla!macro (variabletouse)
so that the label reads "This is test123"