Formatting macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to create a Word template and have the option of using "strikethrough"
for one of two given paragraphs (in other words, sometimes the first
paragraph will have the strikethrough line and other times the second
paragraph will).

Any ideas on how to do this?
 
You could create two otherwise identical styles, one with strikethrough and
one without, and apply them as needed.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
I'm using Word 2003 (sorry I didn't mention that in the OP).

When I select Protect Document, the style box is greyed out, so I can't
change styles. What I was hoping for was something like this:

[X] This is the text of paragraph one and since the box is checked, this
paragraph isn't strikethrough.
[_] This is the text of paragraph two and since the box ISN'T checked, the
paragraph is strikethrough (you have to imagine it is!)

I tried to select "Limit formatting to a selection of styles" and "Allow
only this type (filling in forms)" and the second seems to cancel out the
first.

The other option I thought of (which would work for THIS document) would be
to have two completely separate templates, one with the first paragraph
strikethrough and one with the second. However, that wouldn't work on
documents with a lot of options.

Any other ideas?
-Ray
 
If you're just wanting to allow users a choice between two chunks of
boilerplate (and this isn't a protected form), see
http://word.mvps.org/FAQs/TblsFldsFms/AutoTextList.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Ray_Johnson said:
I'm using Word 2003 (sorry I didn't mention that in the OP).

When I select Protect Document, the style box is greyed out, so I can't
change styles. What I was hoping for was something like this:

[X] This is the text of paragraph one and since the box is checked, this
paragraph isn't strikethrough.
[_] This is the text of paragraph two and since the box ISN'T checked, the
paragraph is strikethrough (you have to imagine it is!)

I tried to select "Limit formatting to a selection of styles" and "Allow
only this type (filling in forms)" and the second seems to cancel out the
first.

The other option I thought of (which would work for THIS document) would be
to have two completely separate templates, one with the first paragraph
strikethrough and one with the second. However, that wouldn't work on
documents with a lot of options.

Any other ideas?
-Ray

Suzanne S. Barnhill said:
You could create two otherwise identical styles, one with strikethrough and
one without, and apply them as needed.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Back
Top