1. Macro that inserts Autotext loses styles of Autotext entry
2. Style from one paragraph going into the Style of the next paragraph
Hi Novice,
I cannot really reproduce the problem. I thought that it might be a problem
with Page or Section breaks. Have a look at your document to see if there's
anything "special" happening between, for example, your bulleted list and
the next heading. BTW and IMHO, the quickest and easiest way to get all the
headings in a document is to use GetCrossReferenceItems.
Dim sHeadings
Dim iHead As Integer
sHeadings =
ActiveDocument.GetCrossReferenceItems(ReferenceType:=wdRefTypeHeading)
For iHead = 1 To UBound(sHeadings)
Debug.Print sHeadings(iHead)
Next iHead
HTH,
Dave
class.
and put it into a different word document - in a different form.
based on the style of the paragraph I'm currently parsing
(i.e. Heading 1, 2, 3, etc) I start a new section in the other document.
original document is actually a heading. In these cases, it seems like the
style from the first character actually takes on the style from the previous
paragraph. But the remainder of the text seems to have the proper style.
For example, in one case, there is a list of bulleted items and then a
heading. In this case, it seems like the style of "bulleted list" or
"bulleted items" or whatever the name is continues into the style of the
next paragraph (at least up until the first character).
where the style from the previous paragraph continues into the "Heading"
paragraph.
3. Normal style paragraph overrides custom table style paragraph
4. Why does changing one paragraph style update all paragraph styles.
5. Maintaining style formatting in AutoText entries
7. Autotext entry based on style
8. Edit styles for AutoText entries
9. How do I store an autotext entry without storing the formattin
10. How do I store an autotext entry without storing the formatting?
11. How to make doc's FullName into an AutoText entry without first inserting it into document
12. Remove a Character style from a Paragraph style - i.e., undo Linked style
13. Free style paragraph entry into a Form
14. Styles: Outline level without a paragraph break