Renamed VBA macros/buttons won't go away
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a couple VBA macros in my Application Project (which is on a shared network drive) that I gave the wrong name a while back and placed as buttons on the ribbon. Today I finally decided to give them the correct name.
So I opened the VBA editor and renamed the subs, then saved my project. Then I went into Customize, removed the old macro button, and replaced it with the new correctly-named one.
Then I restarted Inventor, checked the ribbon tab that has my button... and there the old button was again, with the silly typo staring back at me. I checked in Customize and indeed, my new macro was sitting in the available Macros list, but so was the old macro. And when I selected the Ribbon tab that contains my button from the "Choose tab to add custom panel to" list, it showed the old macro again, like I'd never changed it to the new one.
I tried this 3 or 4 times, including breaking it up by just removing the old button, restarting, then adding the new button, but the old button always came back after I restarted.
I checked my VBA project, and the sub rename did save correctly, so it's not an issue with the VBA project.
So apparently my ribbon customizations aren't being preserved on restart. And my old macros are still lurking somewhere under the hood even though they're not in my VBA project anymore.
What would cause this to happen and how can I fix it?
EDIT: I'm running Inventor 2017.4.4 on Windows 10.