ContinuePreviousList in 2007

S

spnz

Hi there,

I have this piece of code that works fine in 2000 however when trying it in
2007 it does not continue with my numbers from my previous paragraph

Private Sub ContinueDefParagraphNumbering()
'Apply the adjusted outline numbering

Selection.Range.ListFormat.ApplyListTemplate _

ListTemplate:=ListGalleries(wdOutlineNumberGallery).ListTemplates(CTConfig.ltDefault), _
ContinuePreviousList:=False, _
ApplyTo:=wdListApplyToWholeList, _
DefaultListBehavior:=wdWord10ListBehavior


End Sub


Can anyone suggest a method that I can use that will do what im trying to do
in 2007?
 
C

Cindy M.

Hi =?Utf-8?B?c3Bueg==?=,
I have this piece of code that works fine in 2000 however when trying it in
2007 it does not continue with my numbers from my previous paragraph
How about if you set ContinuePreviousList:=TRUE instead of false?
Private Sub ContinueDefParagraphNumbering()
'Apply the adjusted outline numbering

Selection.Range.ListFormat.ApplyListTemplate _

ListTemplate:=ListGalleries(wdOutlineNumberGallery).ListTemplates(CTConfig.ltDefault), _
ContinuePreviousList:=False, _
ApplyTo:=wdListApplyToWholeList, _
DefaultListBehavior:=wdWord10ListBehavior


End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply in the
newsgroup and not by e-mail :)
 
S

spnz

Hi Cindy,

Yes tried that to but still no joy :(

Cindy M. said:
Hi =?Utf-8?B?c3Bueg==?=,

How about if you set ContinuePreviousList:=TRUE instead of false?


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)


This reply is posted in the Newsgroup; please post any follow question or reply in the
newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top