![]() |
#1
|
|||
|
|||
![]() Hi all, I've got a template which on opening is obviously called document1. I would like some method of selecting text within the document, a URN, to create the document name. I have imagined this to be fairly easy, but an hour or so later I cannot find an answer. I'm guessing fields or bookmarks is my friend, but lost, hence the cry for help! |
#2
|
||||
|
||||
![]()
This could be done with a macro, but you'll need to be able to specify the exact location of the text concerned (e.g. entire 1st, 2nd or 3rd paragraph in Section1, 1st cell in 2nd table, a particular content control, etc.).
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
Paul,
The location is a fill-in field within the document, the code for which is { FILLIN "Enter Case Reference" \d LON/ \*MERGEFORMAT \* Upper} Is the location name "Enter Case Reference" or is it the section, line and column info that drives it?? That's Page 1, Sec 1, At 3.9cm Ln 5, Col 18. As usual I'm clueless! |
#4
|
|||
|
|||
![]()
In your example, there is no specific location that is easily accessed. "Enter case references" is a prompt for your FillIn field.
You could, instead, use an ASK field with a related REF field to display the information. The ASK field creates a hidden named bookmark which is a location in the file. See the ASK and FILLIN field tutorial. Tutorials Using Fields in Microsoft Word If your REF field or the inserted information is the first thing in the document and there is no Title property, the first line of your document will be the default name for the document. Note that anything else you do (other than putting your case reference at the beginning)is going to require macros. The trick then is to get users to allow the macros to run. |
#5
|
|||
|
|||
![]()
Charles,
Thanks for that, I'll take a look and see what I can (or cant') do! |
#6
|
||||
|
||||
![]()
In this case, it would probably be easier to bookmark the FILLIN field...
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word for Mac 2011: Change default open/save file locations? | cglenn | Word | 0 | 06-01-2015 10:34 AM |
Cannot save default setting. | Count Dracula | Word | 0 | 03-30-2012 04:06 AM |
![]() |
tom8750 | Word | 10 | 05-23-2011 03:29 AM |
![]() |
cheesysocks | Word | 1 | 10-06-2008 06:05 AM |
Word 2003: Do you want to save changes always popping up | aedwards | Word | 0 | 02-23-2006 02:14 PM |