PC Review


Reply
Thread Tools Rate Thread

Check Box Form Field

 
 
=?Utf-8?B?SmFtaWxhbWFkaW5nZG9uZw==?=
Guest
Posts: n/a
 
      25th Oct 2007
I am using Word 2002 (Office XP) and want to create a form where, if a user
checks a particular check box form field, it causes an amount to appear in
another field (for instance, 0.50%). Can anyone help me out?
 
Reply With Quote
 
 
 
 
Greg Maxey
Guest
Posts: n/a
 
      25th Oct 2007
On Oct 25, 8:51 am, Jamilamadingdong
<Jamilamadingd...@discussions.microsoft.com> wrote:
> I am using Word 2002 (Office XP) and want to create a form where, if a user
> checks a particular check box form field, it causes an amount to appear in
> another field (for instance, 0.50%). Can anyone help me out?


Something like this set to run on exit from the checkbox formfield:

Sub Scratchmacro()
Dim oFF As FormFields
Set oFF = ActiveDocument.FormFields
If oFF("Check1").CheckBox.Value = True Then
oFF("Text1").Result = "50%"
Else
oFF("Text1").Result = ""
End If

End Sub

 
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
Can a check box form field be displayed as a check mark? =?Utf-8?B?dHJhaW5lcjA3?= Microsoft Word Document Management 2 22nd Nov 2006 08:42 PM
Can I change the check style for the check box form field in '03? =?Utf-8?B?TWVyY3VyeQ==?= Microsoft Word Document Management 1 15th Aug 2006 11:29 PM
Putting an actual check mark in a check box form field. =?Utf-8?B?TWFyZ290?= Microsoft Word Document Management 2 21st Feb 2005 09:59 PM
Check box field in a form =?Utf-8?B?SWdvcg==?= Microsoft Word Document Management 2 17th Jan 2005 11:52 PM
Check Box Form Field jhillbrown Microsoft Word New Users 1 17th Apr 2004 02:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:44 PM.