Macro Recording - Entering Text in a Text Box

S

Stephen

I am trying to write a macro that copies text from Document A, opens Document
B, and pastes the text into a textbox in Document B. Unfortunately, while
recording the macro I can manually open Document B, but can't seem to get the
focus on the textbox. The macro ends up just pasting the copied text on the
first line of Document B.

Any suggestions? Thanks
Stephen
 
T

Tony Jollans

Yes, it can be a bit tricky recording actions in Word when you can't use the
mouse properly.

Show the drawing toolbar (View > Toolbars > Drawing) and, when recording,
you will be able to click on the Select Objects arrowhead and then select
the textbox with it.

Alternatively, in recent versions of Word, I think you can select the
drawing canvas by moving the arrow keys and when it is selected you can use
tab to select individual shapes within it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top