Charlie said:
Is there a way to programatically rename a toolbar button?
Can I then access the name of that button as a string in another sub code?
thanks,
ck
Each toolbar button is a CommandbarButton object, a member of the
CommandbarControls collection of a CommandBar object. The CommandbarButton
has a range of properties, but Name is not one of them. Maybe you mean the
Caption? If so, yes the Caption property is read/write.
--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition
www.classicvb.org