vba - Excel - Custom Ribbon Buttons Not Working After File Rename & Relocation -


i have written macros in vba , created custom ribbon tab said buttons placed on it.

enter image description here

i have since renamed file , relocated elsewhere; vba has copied across fine (i.e. has remained within project expected) , code runs when run vba editor (i access using alt + f11). however, buttons (see image) no longer work, instead referring previous version of file.

is there simple way buttons update/"refresh" without having manually create ribbon tab once again , adding of buttons accordingly?

i have imported previous version of ribbon (that had exported backup purposes) buttons still seem refer previous version of document.

any ideas , suggestions appreciated.

i know it's , old question maybe answer can others. had same problem , had change registry entry. go start menu-> run -> regedit.exe -> hkey_current_user -> software -> microsoft -> office -> 12.0 (if office 2007) -> excel -> entry old add-in file path , update value new location (should item "openx"). did trick.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -