Re: Obtaining the current value of outline numbered style

Tech-Archive recommends: Speed Up your PC by fixing your registry



While I haven't done this, I have done something similar with sequence
counters.

With SEQ fields, I had the option of "reading" the "result" property of the
field if I wanted to try and restart things at the same value;
alternatively, for me anyway, I had the option of "unlinking" my selected
text before the copy. That way, everything copied with it's current values
in tact.

However, no further editing could be done that would result in the
renumbering or reordering of these counters, as they were not fields any
longer.

If you don't need the ability to add/delete/reorder your lists, then perhaps
there's a way with lists to turn them back into ordinary text as I did with
fields?

hth,

Chip


"Peter" <Peter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B08C30CD-02B3-46A6-A69F-0C0C46FFCF69@xxxxxxxxxxxxxxxx
I have a document using outline numbered styles for the paragraphs. The
user
selects a series of paragraphs and then runs a macro. The macro copies the
selection and pastes into a new document. The selected text may have
started
at e.g. 9.2.3.5. The style is copied correctly to the new document but
start
with 1.1.1.1.

I know how to programmatically set the "start at" propery of each
Listlevel
in the style but, I can't figure out how to read the actual values of each
Listlevel in the selection (i.e 9.2.3.5).

Can anyone help out with this? Is my question clear?
BTW I'm using Office 2003.

Thanks,
Peter


.



Relevant Pages

  • Re: Obtaining the current value of outline numbered style
    ... renumbering or reordering of these counters, as they were not fields any ... selects a series of paragraphs and then runs a macro. ... Listlevel in the selection. ...
    (microsoft.public.word.vba.general)
  • Re: Help end the testing tedium please
    ... Dim strFilter As String ... the consolidate button uses this macro (which may be a nightmare to ... With Selection ...
    (microsoft.public.excel.programming)
  • Re: Moving to next field with F11 in protected document
    ... macro is invoked with a keyboard hotkey and looks at the characters to ... a file with the name of the selection and inserts one space and then ... Dim rgeField As Range ... Dim lngStart As Long ...
    (microsoft.public.word.vba.beginners)
  • Re: Including Subfolders for use within Word 2003 Macro
    ... Then selected from the Tools bar, Macro, in WORD 2003 and OFFICE 2003 ... folders to look in and then I selected a folder with documents I ... the three references you list should be sufficient. ... >>where we make the actual selection. ...
    (microsoft.public.word.docmanagement)
  • Re: Drop down field formatting
    ... hi again, the macro works very well thank-you, the only problem i have now is ... I used the font names from the font dropdown menu. ... Greg Maxey/Word MVP ... font as it appears within word (font selection) or spelling from ...
    (microsoft.public.word.newusers)