justhumm
Structural
- May 2, 2003
- 112
Just a random question that somebody else might know the answer to...
I have an Excel VBA macro that accesses some information from a custom ribbon (CUSTOMUI.XML).
The XML file is static and is not being modified by the macro. In the static XML file, I have the "tag" attribute including a portion of the "label" attribute for each element. This is a snippet from the current/working XML file:
I haven't been able to figure this out, but before I spend too much time driving down a dead end...With future editing/modifying of the XML file in mind, in EXCEL/VBA, is it possible to refer to another attribute, within an element?
Thanks!
I have an Excel VBA macro that accesses some information from a custom ribbon (CUSTOMUI.XML).
The XML file is static and is not being modified by the macro. In the static XML file, I have the "tag" attribute including a portion of the "label" attribute for each element. This is a snippet from the current/working XML file:
XML:
<menu id="sMenu25" label="Pressure">
<button id="unit2501" [b][u]label="PSI"[/u][/b] tag=""[b]PSI[/b]"" onAction="Macro22" />
<button id="unit2502" [b][u]label="KSI"[/u][/b] tag=""[b]KSI[/b]"" onAction="Macro22" />
</menu >
I haven't been able to figure this out, but before I spend too much time driving down a dead end...With future editing/modifying of the XML file in mind, in EXCEL/VBA, is it possible to refer to another attribute, within an element?
XML:
<menu id="sMenu25" label="Pressure">
<button id="unit2501" label="PSI" tag="""&[b][u]label[/u][/b]&""" onAction="Macro22" />
<button id="unit2502" label="KSI" tag="""&[b][u]label[/u][/b]&""" onAction="Macro22" />
</menu >
Thanks!