View Single Post
 
Old 06-29-2012, 09:48 AM
Ulodesk Ulodesk is offline Windows 7 64bit Office 2010 64bit
Word 2013 Expert Cert
 
Join Date: Sep 2009
Location: Virginia
Posts: 872
Ulodesk is on a distinguished road
Default No luck

Thanks, Charles. It's an improvement, but unfortunately, it stops after finding the first instance of the word. The rest of my macro copies it and pastes it into the new document. I end up with a new, one-word document.

I have spent well over an hour on this, reading the reference you provided, going into help, running through menus of available properties and actions, etc. etc. Clearly, I will never be any good at this, and I must say, it's awfully frustrating. I have yet to find any source anyhere on beginning VBA that takes an approach that seems obvious to me with respect to providing a useful guide to common sorts of procedures. I say that, despite realizing how vast the options are. My example here typifies the problem: Nowhere can I find a simple indicator of, "Repeat the above for the whole document." I have copied from simple macros in VBA's own Help that should fit nicely, and get nothing but compile errors, term undefined, etc.

Anyway. Any suggestions? I mean, other than giving up entirely and taking a vacation?
Reply With Quote