Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checkbox in Microsoft Word - if checked a value appears in a textbox

Status
Not open for further replies.

shaleen7

MIS
Jun 23, 2002
188
US
Here's an example of what I'm looking for:
If checkbox1 is enabled by the user then a pre-defined value is placed in a textbox1.

For example:

Checkbox1 is enable then the value $920 would be entered into Textbox1.

How would I accomplish this?
Many thanks.

 
Try this,

Private Sub CheckBox1_Change()

if checkbox1.value = true then
textbox1.text = "$920"
else textbox1.text = ""
end if

End Sub

Mike [pipe]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top