Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / July 2007

Tip: Looking for answers? Try searching our database.

Detecting custom list extent

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bear - 20 Jul 2007 15:10 GMT
What do you think of this idea?

Here's the application...

We use SEQ fields and supporting macros to create numbered lists for
procedures. Currently, I detect the extent of the list by looking on either
side of the insertion point or selection, and examining the style. If it's
one of two specific styles (Step Action or Step Comment) then the list
extends that far, etc.

In other words, the list ends when I encounter some style other than Step
Action or Step Comment.

The idea...

What if the extent of the list was determined by a specific paragraph
indent, whether part of the underlying style or manually applied? I'd look on
either side of the insertion point or selection and extend the list until I
found a paragraph with no left or hanging indent, and that would mark the
start or end of the list.

That way, any style could be inserted in the list.

That's both the pro and the con. As it is now, the authors are discouraged
from inserting anything between steps in a procedure, and that's good. But it
is a hassle when one utterly needs to insert a bulleted list or figure
between two steps.

As it is now, my VBA needs to think of that as two lists, jammed together,
with the second list starting at something other than 1.

Bear

Signature

Windows XP, Word 2000

Russ - 22 Jul 2007 10:35 GMT
Why aren't you using Word's built in bullets and numbering formatting?
<http://www.shaunakelly.com/word/numbering/OutlineNumbering.html>
<http://word.mvps.org/faqs/numbering/liststring.htm>

> What do you think of this idea?
>
[quoted text clipped - 28 lines]
>
> Bear

Signature

Russ

drsmN0SPAMikleAThotmailD0Tcom.INVALID

Bear - 23 Jul 2007 14:28 GMT
Russ:

There are still too many surprises with autonumbering in a
mutliple-authoring environment. Even when styles are defined programatically,
we still get conflicting numbers and bullets when sharing work outside our
group.

Bear
Signature

Windows XP, Word 2000

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.