Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
SpringTree SpringTree is offline
external usenet poster
 
Posts: 1
Default How to cross-Reference a heading that includes a drop down list

Have a document number that is made up of typed words and a selection from a
[drop-down list] followed by numbers: ABC-[droplist]-123
I need to cross reference this document number in the header of the document.

I tried applying a style 'document number' to the whole document number ;
ABC-[droplist]-123
Then using {STYLEREF 'document number'} in the header.
I got this error: Error! Style not defined.

Is there another way to do this?
thanks
  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Lene Fredborg Lene Fredborg is offline
external usenet poster
 
Posts: 1,291
Default How to cross-Reference a heading that includes a drop down list

In the StyleRef field, have you used apostrophes ( ' ) as in your post?
In that case, replace the apostrophes with quotes ( " ):
{ StyleRef "document number" }

--
Regards
Lene Fredborg - Microsoft MVP (Word)
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word


"SpringTree" wrote:

Have a document number that is made up of typed words and a selection from a
[drop-down list] followed by numbers: ABC-[droplist]-123
I need to cross reference this document number in the header of the document.

I tried applying a style 'document number' to the whole document number ;
ABC-[droplist]-123
Then using {STYLEREF 'document number'} in the header.
I got this error: Error! Style not defined.

Is there another way to do this?
thanks

  #3   Report Post  
Posted to microsoft.public.word.pagelayout
Jean-Guy Marcil[_3_] Jean-Guy Marcil[_3_] is offline
external usenet poster
 
Posts: 109
Default How to cross-Reference a heading that includes a drop down list

SpringTree was telling us:
SpringTree nous racontait que :

Have a document number that is made up of typed words and a selection
from a [drop-down list] followed by numbers: ABC-[droplist]-123
I need to cross reference this document number in the header of the
document.

I tried applying a style 'document number' to the whole document
number ; ABC-[droplist]-123
Then using {STYLEREF 'document number'} in the header.
I got this error: Error! Style not defined.

Is there another way to do this?


Did you actually use Apostrophes before and after the document number in the
STYLEREF field?

Also, did you create paragraph or a character style?

Finally, what type of dropdown list did you use?
As far as I know, such dropdowns cannot be picked up by the STYLEREF field.
Depending on how you are building your document, you will need a different
strategy.


--
______________________________
Jean-Guy Marcil
Montreal, Canada


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
cross reference that includes both the heading number and the text mike Microsoft Word Help 4 May 13th 23 02:49 AM
Cross-reference to a certain text rather to a certain heading numb wildetudor Microsoft Word Help 4 November 21st 08 04:34 PM
Insert cross-reference "reference type" drop-down list length Wheatazogg Microsoft Word Help 0 March 7th 08 06:45 PM
Cross Reference includes page break FraserH Page Layout 2 January 7th 08 08:07 PM
When cross-reference heading (number), words insert a '0' RK Microsoft Word Help 2 January 27th 06 04:33 PM


All times are GMT +1. The time now is 04:55 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"