Loop through listboxes in Application.OrganizerCopy
Paul,
I discovered a small conflict today when I ran Style Copier on my laptop. The copy styles macro produces a file in use message that says WinCalendar.dotm is "locked for editing," even though I didn't open this file. WinCalendar is a calendar add-in for Windows, Word and Excel that I have on both my desktop and laptop. This errors occurs only on the laptop, and does so even after uninstalling WinCalendar there.
It appears that Style Copier does execute the copy, but this error is triggered by your "DoEvents" code that opens a separate Word session. I've attached a screen shot of the message.
Can you figure out why it's conflicting and perhaps modify the DoEvents code to prevent it?
|