A
Adrian
Hi all,
This is another basic question but I cannot seem to get it
right.
I have created a userform that contains 6 checkboxes.
I want to rig it so that depending on the options chosen
by the user (me!!) a line of text is printed on the active
doc.
I have the code in the CommandButton click
EG
One box is called GIA
So my line of code is
If chkGIA = 1 Then Selection. TypeText "Gia can be found
in Aberdeen"
The code is repeated for the other checkboxes with the
appropriate name and text.
It doesnt seem to work
I have tried If chkGia.Checked= True Then......
That doesnt work either.
Any suggestions as to what I am doing wrong would be
gratefully recieved.
Many thanks
Adrian
This is another basic question but I cannot seem to get it
right.
I have created a userform that contains 6 checkboxes.
I want to rig it so that depending on the options chosen
by the user (me!!) a line of text is printed on the active
doc.
I have the code in the CommandButton click
EG
One box is called GIA
So my line of code is
If chkGIA = 1 Then Selection. TypeText "Gia can be found
in Aberdeen"
The code is repeated for the other checkboxes with the
appropriate name and text.
It doesnt seem to work
I have tried If chkGia.Checked= True Then......
That doesnt work either.
Any suggestions as to what I am doing wrong would be
gratefully recieved.
Many thanks
Adrian