From: Jess on
How can I do this and change the caption in the label?
From: Jess on


"Jess" wrote:

> How can I do this and change the caption in the label? - Using VBA
From: Jess on


"Jess" wrote:

> How can I do this and change the caption in the label? Sorry Not VBA but VB6
From: Graham Mayor on
This forum is for Word vba. If you want some help with this you will need to
explain *exactly* what you mean. We are not mind readers.
What sort of label? Caption?

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>




"Jess" <Jess(a)discussions.microsoft.com> wrote in message
news:F0EE799A-902F-407C-BAC2-B36668C958FA(a)microsoft.com...
>
>
> "Jess" wrote:
>
>> How can I do this and change the caption in the label? Sorry Not VBA but
>> VB6


From: Doug Robbins - Word MVP on
A caption consists of a { SEQ } field pre-fixed by the label so if you want
to insert a caption for a Widget, you could use

With ActiveDocument
Selection.InsertBefore "Widget "
Selection.Collapse wdCollapseEnd
.Fields.Add Selection.Range, wdFieldEmpty, "SEQ widget"
End With


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"Jess" <Jess(a)discussions.microsoft.com> wrote in message
news:87C4B2DB-D605-42DF-9911-2C7300B697AC(a)microsoft.com...
> How can I do this and change the caption in the label?