S
Samuel Sunsmith
Conditions:
Document with multiple paragraphs (Normal Style)
On each paragraph:
the "Don't add space between paragraphs of the same style" checkbox is checked
Spacing Before is set to 15 pt
VBA:
Execute:
Dim sTest As String
Dim vTest As Variant
Dim oStyle As Object
Set oStyle = Selection.Style
sTest = oStyle.NameLocal
vTest = oStyle.NoSpaceBetweenParagraphsOfSameStyle
vTest is ALWAYS FALSE
I used a Variant just to be sure that some other type wasn't being returned.
Look in Local Variables at oStyle and NoSpaceBetweenParagraphsOfSameStyle is
FALSE!
Is there something obvious I'm over looking.
BTW the Style is Normal.
Thanks in advance for your time and consideration.
Sam
Document with multiple paragraphs (Normal Style)
On each paragraph:
the "Don't add space between paragraphs of the same style" checkbox is checked
Spacing Before is set to 15 pt
VBA:
Execute:
Dim sTest As String
Dim vTest As Variant
Dim oStyle As Object
Set oStyle = Selection.Style
sTest = oStyle.NameLocal
vTest = oStyle.NoSpaceBetweenParagraphsOfSameStyle
vTest is ALWAYS FALSE
I used a Variant just to be sure that some other type wasn't being returned.
Look in Local Variables at oStyle and NoSpaceBetweenParagraphsOfSameStyle is
FALSE!
Is there something obvious I'm over looking.
BTW the Style is Normal.
Thanks in advance for your time and consideration.
Sam