JayM said:
I have a couple of hundred documents that have 2 text frames in them.
One of the text frames needs to be moved and I wondered if there was
anyway
of writing some vba to reference the text frame and position it some where
else?
Any help on this would be most gratefully received.
Many thanks
Jay
OK, we need to break this down into smaller chunks before the problem can be
adequately defined.
1. Are all the documents in the same folder? Are any documents also in the
folder that you don't want processed?
2. Can you provide a description of the frame that will enable VBA code to
reliably identify the correct frame to be moved? (By the way, are we dealing
with a TextBox or a Frame? They are two different beasts which perform a
similar function.)
3. Can you provide a description that unambiguously defines where the frame
is to be moved to?
Assuming all the files are in the dame folder, the batch-processing part of
it is fairly easy. The following article describes how to do this
Find & ReplaceAll on a batch of documents in the same folder
http://www.word.mvps.org/FAQs/MacrosVBA/BatchFR.htm
Once we have an unambiguous description for items 2 & 3, the code for that
would replace the find/replace code on the inside of the loop in the code
sample in that article.