Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

custom ribbon functions stop working after changing the file name

12 views
Skip to first unread message

Matt Goldstein

unread,
Dec 17, 2014, 11:47:34 AM12/17/14
to
I encountered this problem in Microsoft Project, but I imagine the cause and resolution apply across all MS Office applications.

I used the menu (File > Options > Customize Ribbon) to add a group and macros. After renaming the file, selecting the new commands through the ribbon does not work. The macros still work, but not from the custom buttons. I examined the officeUI file and found that the button definition includes the file name.

<mso:button idQ="x1:original_file_name.mpp_macroname_2_4ECD0FE" label="macro description" imageMso="ChangesDiscardAndRefresh" onAction="original file name.mpp!macroname" visible="true"/>

The file names we use often include the date. Each update results in a new file name. Also, I'd like to distribute the ribbon customization and macros to other users to use with any other file. The export / import retains the file name within the xml content.

Is the solution to edit the officeUI file to remove the file name? If so, how (e.g. what is the idQ and onAction syntax)? If not, how can I resolve this problem?
0 new messages