PC Review


Reply
Thread Tools Rate Thread

Creating styles with conditional formating

 
 
vojo
Guest
Posts: n/a
 
      23rd Jan 2009
What I want to do is to create a style such that a global variable (in the
custom template) defines some formating...namely whether font is hidden or
shown.
Variable in the doc template

I am ok with idea of an if true style x else style y but dont know how to
make a style in word that does this (without manually typing all this in).
Ie would like be able to place cursor and select style.

I am ok with two styles: a field / bookmark for hidden on....and a
fied/bookmark for hidden off

Would like to stay away from VBA on this
 
Reply With Quote
 
 
 
 
Tony Jollans
Guest
Posts: n/a
 
      28th Jan 2009
It is possible to define Styled text within a field (by extending the
technique that Cindy shows, perhaps including AutoTexts) but in this case it
would seem to be more complicated than needed.

--
Enjoy,
Tony

www.WordArticles.com

"Cindy M." <C.Meister-(E-Mail Removed)> wrote in message
news:VA.0000150a.9c47fdb4@vistapc...
> Hi vojo,
>
> I can't think of any way to do this. I don't think there are any fields
> that
> apply styles. Fields can only reference text that has a style applied.
> Best
> that occurs to me is to use an IF field that checks the Variable and
> displays
> text according to that property.
>
> { IF {DocVariable abc}="on" "Show all this text" "" }
>
>> What I want to do is to create a style such that a global variable (in
>> the
>> custom template) defines some formating...namely whether font is hidden
>> or
>> shown.
>> Variable in the doc template
>>
>> I am ok with idea of an if true style x else style y but dont know how to
>> make a style in word that does this (without manually typing all this
>> in).
>> Ie would like be able to place cursor and select style.
>>
>> I am ok with two styles: a field / bookmark for hidden on....and a
>> fied/bookmark for hidden off
>>
>> Would like to stay away from VBA on this
>>

>
> Cindy Meister
> INTER-Solutions, Switzerland
> http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
> http://www.word.mvps.org
>
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help formating styles... please... elandau1@gmail.com Microsoft Word Document Management 5 7th Jun 2008 02:30 PM
Formating heading styles =?Utf-8?B?a2lwcGVycw==?= Microsoft Word Document Management 1 30th Jul 2007 12:43 PM
styles and formating pane not showing selected styles =?Utf-8?B?TWlrZSBC?= Microsoft Word Document Management 1 25th Apr 2006 01:53 PM
Install dates formating using conditional formating? Jerry Eggleston Microsoft Excel Misc 2 9th Nov 2005 05:49 PM
Disabling Styles and Formating =?Utf-8?B?TmljayBNaWxsZXI=?= Microsoft Word Document Management 6 8th Nov 2004 05:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:42 PM.