J
Jason Roberts
I beleive what I want to do is relatively easy, but I'm still learning VBA
and am too tired to think at this point.
I have a protected form. On this form, I want a field called "revised." It
should toggle between two values: "REVISED" and "" (i.e. nothing).
Originally, I wanted to use a FORMCHECKBOX field in conjunction with an IF
field. The plan was to allow the user to check the checkbox if the form was
revised, and the IF field would look at that whether the box was checked.
Something like: { IF revised = true "REVISED" "" } No matter how I did it,
though, it did not work. I have since read somewhere that you can't use the
value of a FORMCHECKBOX in an IF field. (I'm using Word 2003 if it matters.)
So now I'm looking at a MACROBUTTON. What I want is a button that will
toggle the value of the "revised" field between "REVISED" and "". Like I
said, I think this should be an easy task, but my brain is fried at this
point. I figure one of you MVPs will be able to whip this out in your sleep.
Thanks,
-J.
and am too tired to think at this point.
I have a protected form. On this form, I want a field called "revised." It
should toggle between two values: "REVISED" and "" (i.e. nothing).
Originally, I wanted to use a FORMCHECKBOX field in conjunction with an IF
field. The plan was to allow the user to check the checkbox if the form was
revised, and the IF field would look at that whether the box was checked.
Something like: { IF revised = true "REVISED" "" } No matter how I did it,
though, it did not work. I have since read somewhere that you can't use the
value of a FORMCHECKBOX in an IF field. (I'm using Word 2003 if it matters.)
So now I'm looking at a MACROBUTTON. What I want is a button that will
toggle the value of the "revised" field between "REVISED" and "". Like I
said, I think this should be an easy task, but my brain is fried at this
point. I figure one of you MVPs will be able to whip this out in your sleep.
Thanks,
-J.