B
Bear
I'm using Word 2000 on XP Pro. My problem arises when I select a range that
contains multiple paragraph styles, and attempt to determine whether or not
all the styles are the same.
Any code like objRange.style results in this error:
Run-time error '91':
Object variable or With block variable not set
The MSDN Library says:
When you return the style for a range that includes more than one style,
only the first character or paragraph style is returned.
Why doesn't this happen? Am I reading this wrong? Is it a Word 2000 thing?
Bear
contains multiple paragraph styles, and attempt to determine whether or not
all the styles are the same.
Any code like objRange.style results in this error:
Run-time error '91':
Object variable or With block variable not set
The MSDN Library says:
When you return the style for a range that includes more than one style,
only the first character or paragraph style is returned.
Why doesn't this happen? Am I reading this wrong? Is it a Word 2000 thing?
Bear