Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / October 2005

Tip: Looking for answers? Try searching our database.

Macro Recording - Entering Text in a Text Box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stephen - 25 Oct 2005 01:30 GMT
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
Tony Jollans - 25 Oct 2005 01:45 GMT
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.

--
Enjoy,
Tony

> 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
[quoted text clipped - 4 lines]
> Any suggestions?  Thanks
> Stephen

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.