TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Further to my previous posting regarding some results I found whilst
building the Editioning dialog allowing multiple editions to be built from a
single document using highlighting to mark the texts, I have some
refinements of knowledge.
1) Paragraph marks are capable of holding a highlight property
2) Word auto-trims your ranges no matter what autocorrect or other settings
you have set or cleared, making it impossible mark some spaces or paragraph
marks without a lot of silliness.
3) The simplest way to defeat 2 is to use assign a shortcut to a simple
macro that reads
Public Sub Stamp()
Selection.Range.HighlightColorIndex = Options.DefaultHighlightColorIndex
Selection.Collapse wdCollapseEnd
End Sub
4) Even after the highlight has been correctly applied, Word does not
display the highlight under certain conditions. Some of these conditions
are:
* if its a para mark
* if it is a space starting the highlight range that has been orphaned onto
its own line.
5) To check whether a highlight is applied, in the immediate window of the
VBE type
? Selection.range.highlightcolorindex
If the answer is not 0, the range has a highlight. To check which color, you
need to use the object browser on the wdcolorindex definitions.
Steve Hudson , HDK List MVP
Principal Technical Writer
Wright Technologies Pty Ltd (Aus)
EyeSpring - the future of graphics has been created.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Be a published author! iUniverse gives you: a high-quality paperback, a
custom cover design, and distribution to 25,000 retailers. And it's
affordable. Join our almost 10,000 published authors today. http://www.iuniverse.com/media/techwr
Your monthly sponsorship message here reaches more than
5000 technical writers, providing 2,500,000+ monthly impressions.
Contact Eric (ejray -at- raycomm -dot- com) for details and availability.
---
You are currently subscribed to techwr-l as: archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.