View Single Post
 
Old 01-30-2012, 08:03 PM
Marrick13 Marrick13 is offline Windows XP Office 2010 32bit
Competent Performer
 
Join Date: Jun 2006
Posts: 102
Marrick13 will become famous soon enough
Default 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?
Attached Files
File Type: doc Style Copier-Win Calendar Conflict.doc (55.5 KB, 41 views)
Reply With Quote