Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-31-2012, 09:50 PM
Marrick13 Marrick13 is offline Loop through listboxes in Application.OrganizerCopy Windows XP Loop through listboxes in Application.OrganizerCopy Office 2010 32bit
Competent Performer
Loop through listboxes in Application.OrganizerCopy
 
Join Date: Jun 2006
Posts: 102
Marrick13 will become famous soon enough
Default

Paul,

I commented out all the lines starting with "wdTmp.Documents" because of the variable, but that was because I also commented out the variable declaration. I probably could have left that, but I still would have had to comment out most of the code that pertained to the separate Word session.

I recall that at the beginning of this project, I thought I could do all the style copying without opening any files, then discovered I had to open the source. So I did that and closed it as soon as I grabbed its styles (it needed to be opened only to capture its style list, not to copy them). The styles can be copied to the dest files without opening them. So I didn't think much about the possible problems of opening files.



I created Style Copier primarily out of a need I saw for copying styles to multiple files, which the Organizer cannot do, and secondarily to get around Organizer's template defaults. The need for copying to multiple arose out of a client I was working for who had tons of existing documents which made no use of styles, but many of them did use multilevel (outline) numbering. That numbering almost always goes awry unless it is set up in a list style or similar style. I configured those styles in a non-template and used that to copy to other documents; there was no need for a template since I wasn't creating new documents. I'm not working there anymore but thought other technical writers might find Style Copier useful, but since I'm not in touch with any of them anymore, there probably won't be any users! But at least I will have this utility if I ever run into a similar scenario again.

Again, thank you for all your help - I couldn't have finished it without you!
Reply With Quote
Reply



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
Loop through listboxes in Application.OrganizerCopy 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

Other Forums: Access Forums

All times are GMT -7. The time now is 01:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft