#46
|
|||
|
|||
Cricket, I am the guy who wrote (most of) Style Copier (needed some help from one of the gurus) and it's still good (and updated for 64-bit PCs). So, have at it! |
#47
|
||||
|
||||
Nothing has changed in Office to prevent the code working in any current version. Did you at least try it?
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#48
|
|||
|
|||
I'm currently using a DOTM file that Charles shared on Word 365, but I'm facing some performance issues. It's incredibly slow, taking over a minute just to copy a single style. Additionally, I receive an error message stating, "Microsoft Office has identified a potential security concern," and it mentions that the execution of a macro has been blocked. Interestingly, the notification points to a tmp-file in the AppData / User folder, which doesn't seem to relate to the actual files in use:
C:\Users\[username] \AppData\Local\Microsoft\Windows\INetCache\Content .Word\~WRC1782.tmp. In Task Manager, I notice that there are eight instances of Word open (even though Word doesn't appear to be active). I've given the DOTM a go with the test files/template mentioned in post 7 of this thread. Also, I had to comment out the lines with wdTmp because they were throwing errors for me. I'm really hoping to get some insight or assistance from any of the developers here. Has anyone faced similar issues or knows how to work around this? I'm attaching the DOTM file I'm working with to this post. |
#49
|
|||
|
|||
Sorry for the late response.
The code in Paul's .doc file still runs fine if you can get it past your Trust Center settings. The same code is in the .dotm file I posted which can be place in your StartUp folder. Both run fine in the Word in Micrsoft 365 version 2404. |
#50
|
|||
|
|||
Quote:
I just reposted the .dotm but there are no changes to the code there. When running on my machine using Microsoft 365 ver. 2404 I am not seeing any multiple instances. I have not tested with the test document. |
#51
|
|||
|
|||
Note the limitations Paul noted previously with Built-In Styles.
You may want to use [Quick] Style Sets instead. There may be limits to how many styles you can have in such a set. They do have to be designated for display in the Gallery to be included in a set. [Quick] Style Sets and Word Themes in Microsoft Word See also: A Global StyleSheet in Microsoft Word? |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to use for loop in formula in VBA? | tinfanide | Excel Programming | 1 | 12-06-2011 08:33 AM |
music loop in powerpoint presentation | genoMU69 | PowerPoint | 1 | 06-15-2011 08:00 AM |
While loop not working right | Cbrehm | Excel Programming | 0 | 05-11-2011 11:05 AM |
Continuous Loop | cksm4 | Word | 6 | 01-06-2011 09:03 PM |
Outlook 2003 restart in a loop | Stegel | Outlook | 0 | 06-29-2007 12:34 PM |