WordBasic.ResetChar and ResetPara broken in Word2003?

K

Klaus Linke

Hi everybody,

The old functions WordBasic.ResetChar() and WordBasic.ResetPara() were handy
for quickly deciding whether manual formatting had been applied.

In versions up to Word2002, with some text selected,
? WordBasic.ResetChar() would return 1 if there was no manual font
formatting in the selection, and 0 if there was.

? WordBasic.ResetPara() used to return -1 if there was no manual paragraph
formatting applied in the first paragraph of the selection, and 0 (zero) if
there was paragraph formatting that differed from that defined in the
paragraph style.

In Word2003, both seem to always return 0 (Word2003, SR1). Is this a new
bug, or just something weird on my machine?

Greetings,
Klaus
 
H

Helmut Weber

Hi Klaus,

quite the same here.

Help about reveils nothing about a service pack.


Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
 
K

Klaus Linke

Hi Helmut,

Thanks for the confirmation. Maybe we should look out that it gets fixed
again in the next version.
Though maybe it was scratched on purpose to improve performance, and nobody
bothered to tell us?

Regards,
Klaus
 
H

Helmut Weber

Hi Klaus,

"Verschlimmbesserung".

Maybe some bilingual genius will offer us a translation.


Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
 

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