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 / September 2005

Tip: Looking for answers? Try searching our database.

WordBasic.ResetChar and ResetPara broken in Word2003?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Klaus Linke - 24 Aug 2005 13:54 GMT
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


Helmut Weber - 24 Aug 2005 15:59 GMT
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"
Klaus Linke - 26 Aug 2005 09:49 GMT
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

> Hi Klaus,
>
[quoted text clipped - 8 lines]
> Win XP, Office 2003
> "red.sys" & Chr$(64) & "t-online.de"
Helmut Weber - 27 Aug 2005 21:40 GMT
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"
Jonathan West - 04 Sep 2005 15:00 GMT
> Hi Klaus,
>
> "Verschlimmbesserung".
>
> Maybe some bilingual genius will offer us a translation.

Improvement that makes things worse :-)

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org


Rate this thread:






 
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.