I created a macro that extracts the current page in a word doc and saves it as a new file. I want to save this macro as an add in like I do with excel macros but I don't know how to do so. It seems quite different than excel and google is not providing quick answers. I tried saving the file as a .dotm. I was able to add it in the add-ins box and as a button in the ribbon, but it won't allow it to be run because it cannot be found or that it is disabled due to security settings. I have checked it as a document template in the developer tab.
I read somewhere you can put your dotm file in the word parent directory to have it run automatically. the usual way I navigate to application directories is to right-click on the shortcuts on the desktop or wherever and click "open file location" but that's not working as it used to. It gets stuck in the startmenu>programs directory and doesn't take me any farther (i.e. to it's target). In the properties box, it says what it's target is "Microsoft Standard Office 2016", but not it's path. I don't recall ever having an issue with this procedure. Maybe it's because of a computer upgrade (I got a whole new faster machine plus some other versions of applications, but Windows 10 was on both). I suppose I can find the directory manually and I'll try this but I may not even be on the right track with this.
Thank for your time and help
Edit: The directory in my documents folder, Custom Office templates, where the dotm file is located is a trusted location (the normal method I use for getting around security as the office IT guy doesn't want us changing macro settings around).
Bookmarks