RE: Finding character styles in Word with VBA

Subject: RE: Finding character styles in Word with VBA
From: "Partridge, Robert" <Robert -dot- Partridge -at- au -dot- unisys -dot- com>
To: <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Thu, 23 Mar 2006 22:27:41 +1100

Hmmmm... I've tried using wildcards, and I've tried using nothing in the
quotes. The char styles aren't picked up. You can test it yourself. It's
not just that they don't work in a macro, but using Find and replace
doesn't find them, and yet it will find a para style of the same name
and will find characteristics of the style such as colour or weight.

It's a conundrum.

Cheers,

Rob

-----Original Message-----
From: Mike Feimster

If you are trying to replace one character style with another, you
should be able to use the same code. Just remove the ^p from .Text and
.Replacement.Text.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

WebWorks ePublisher Pro for Word features support for every major Help
format plus PDF, HTML and more. Flexible, precise, and efficient content
delivery. Try it today!. http://www.webworks.com/techwr-l

Doc-To-Help includes a one-click RoboHelp project converter. It's that easy. Watch the demo at http://www.componentone.com/TECHWRL/DocToHelp2005

---
You are currently subscribed to TECHWR-L as archive -at- infoinfocus -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40infoinfocus.com

To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to lisa -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/techwhirl/ for more resources and info.


Follow-Ups:

Previous by Author: Finding character styles in Word with VBA
Next by Author: RE: Finding character styles in Word with VBA
Previous by Thread: RE: Finding character styles in Word with VBA
Next by Thread: RE: Finding character styles in Word with VBA


What this post helpful? Share it with friends and colleagues:


Sponsored Ads