D
DomMar
I want to have a calculation field in a form show as blank (spaces) when the
value is zero.
value is zero.
Greg Maxey said:DomMar,
All I can suggest is an on exit macro to set the value to " " if the value
on exit is "0"
Sub Test()
If ActiveDocument.FormFields("Text2").Result = "0" Then
ActiveDocument.FormFields("Text2").Result = " "
End If
End Sub
--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.