Using Option Buttons on a user form

B

BBD

I created a userform in VBA that uses option buttons to
select text for insertion into a locked form field. I can
get the form to appear, but when I select my option, it
inserts the text before I click the OK button. I placed
the Form results in the Sub OptionButton1().

My experience was with WordBasic where I would use a
ButtonPushed line to define my Command Buttons and a Case
Array to define the choices so I am unused to the commands
in VBA. Can someone help me here?
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

Move the code that I now understand is doing what you want, but before you
want it to be done, into the Command Button Click event. Then it should do
it when you click the button.

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
 

Ask a Question

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.

Ask a Question

Top