I use StyleRefs a lot, and have a questions.
In a header I have a styleref but sometimes the style is not used in the document and the field returns the standard "Error! No text of specified style in document." message.
Is there a way of having the styleref that will work normally if the style is present in the document, but not show the error message if otherwise?
many thanks
in basic Excel parlance :)
=if(StyleRef="error"," ", StyleRef)