Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
Jonathan Finney
 
Posts: n/a
Default Getting cursor to be in Text Box when opened

I have a template (.dot) file I use to print an address on a label in the
middle of a sheet of labels.

I have a text box in the middle of the page, but when I open the template,
the cursor is at the top of the page rather than in the text box.

How can I get the template to open with the cursor in the text box?

If this is not possible, how can I set the document to show the text box
without adding anything that will print?

--
Jonathan Finney


  #2   Report Post  
Posted to microsoft.public.word.pagelayout
CyberTaz
 
Posts: n/a
Default Getting cursor to be in Text Box when opened

Hi Jonathan -

Assuming you are using Word 2002-2003, are you familiar with ToolsLetters &
MailingsEnvelopes & Labels? If not, you might have a look at that first, as
it sounds from your description that you may be attempting to re-invent the
wheel.

Otherwise, please be more exact with your purpose (including software
version), as there is no 'setting' for what you are asking - text boxes are
embedded (i.e., 'foreign') objects in a doc. If focus is not to be shifted
to one *manually* (by clicking in it) it would require a VBA solution.

--
HTH|:)
Bob Jones
[MVP] Office:Mac

"Jonathan Finney" wrote in message
...
I have a template (.dot) file I use to print an address on a label in the
middle of a sheet of labels.

I have a text box in the middle of the page, but when I open the template,
the cursor is at the top of the page rather than in the text box.

How can I get the template to open with the cursor in the text box?

If this is not possible, how can I set the document to show the text box
without adding anything that will print?

--
Jonathan Finney



  #3   Report Post  
Posted to microsoft.public.word.pagelayout
Jay Freedman
 
Posts: n/a
Default Getting cursor to be in Text Box when opened

Assuming there are no other text boxes or floating graphics in a newly
created document based on this template, you can place this macro in a
module in your template (see http://www.gmayor.com/installing_macro.htm). It
runs automatically when you use the File New command to make a new
document based on the template. [Note: *do not* use File Open on the
template unless you want to change the template itself.]

Sub AutoNew()
On Error GoTo done
ActiveDocument.Shapes(1).TextFrame.TextRange.Selec t
Selection.Collapse wdCollapseEnd
done:
End Sub

The macro can be adjusted if there are other other objects that interfere,
but I'd have to know what they are and where they're anchored.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Jonathan Finney wrote:
I have a template (.dot) file I use to print an address on a label in
the middle of a sheet of labels.

I have a text box in the middle of the page, but when I open the
template, the cursor is at the top of the page rather than in the
text box.

How can I get the template to open with the cursor in the text box?

If this is not possible, how can I set the document to show the text
box without adding anything that will print?



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Header with picture or text box Scott Page Layout 15 April 28th 23 02:52 AM
Creating dynamic cross reference links in a Word document torajudo Microsoft Word Help 5 April 27th 23 08:57 PM
Hidden text won't stick Gary Burton Formatting Long Documents 10 February 17th 06 02:03 AM
Wandering text box Jim K Microsoft Word Help 7 December 23rd 05 11:27 PM
textbox to normal text Jack Sons New Users 16 December 5th 04 03:44 PM


All times are GMT +1. The time now is 05:56 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"