![]() |
|
![]() |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
![]() Quote:
If a macro is private, it will not show up in the macros list (Alt+F8) nor can it be called with a keyboard shortcut. It can be run from another macro or from the vba editor. Here is a screenshot from my Normal project in the vba editor. Again this is not where I hold the macros I use on a regular basis. (The exception in the mBackupNormal module which is explored here: Backup Normal.dotm template using a macro.) These all hold code that I have developed or picked up over the years that can be useful. The code used for my work is stored in other templates (Add-Ins or Global Templates). I have been gathering these since around 1998 when I picked up the book Word 97 Annoyances. Public macros that are stored in Global templates will show up in the macros list but will not be available for editing in the vba editor unless that template is somehow open (as discussed earlier). Projects that show up in the editor project explorer that are not viewable are usually loaded Add-Ins. Are your templates stored on OneDrive or SharePoint? Like Andrew, I can anticipate this as a problem if your User Templates location is a cloud folder. I store mine in DropBox on my computer's hard drive sync folder without problems. If they were in the cloud location, I would anticipate problems, as well. Again, mine is on my hard drive, synced to a cloud location rather in a cloud location synced to my hard drive. |
#2
|
|||
|
|||
![]()
Thank you, Andrew and Charles. I seem to have two sets of macro modules in VBA:
![]() (I have uninstalled NoteStripper from my PC but it is still showing up.) The macros menu doesn't show up every single macro. New ones that are in VBA sometimes don't show up but when I try to create it as a new macro I am asked if I want to replace the existing one, and I can 'step into' it easily (so far today). It simply doesn't show up. The macros menu I get when customizing keyboard shortcuts is not exactly the same one as for customizing the quick access toolbar (in the same document). ![]() ![]() I unlinked OneDrive on my computer but it was up and running again today, so I've set it to stop syncing. I suspect that I'm looking at two different sets of macros here, most of which overlap as they derive from the same source. It's been suggested to me that I delete one of them and see how that goes. That still doesn't explain why a macros in VBA doesn't show up in the macro menu, however. Last edited by a_scribe; 11-15-2021 at 08:12 AM. Reason: update |
![]() |
Tags |
macro help, templates messed up, vba |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error message ["Project is unviewable"] when I try to exit Word; despite my running Debug, Compile [ | marceepoo | Word VBA | 2 | 05-07-2020 03:48 PM |
Keyboard shortcuts won't execute macros in Word 2010 | kozureokami | Word | 4 | 02-26-2017 03:16 PM |
Finding keyboard shortcuts for my macros | tcantrell | Word VBA | 1 | 12-07-2015 02:04 PM |
Importing Macros from 2007 with keyboard shortcuts | gyro2222 | Word VBA | 19 | 03-02-2015 09:33 AM |
![]() |
harry | Word | 1 | 07-15-2010 12:38 AM |