Optiongroup if - else

kentendresen

Registered User.
Local time
Today, 14:59
Joined
Nov 13, 2002
Messages
49
Hi!

I have an optiongroup in a form, and a button which jumps to the next post.

If the user forget to mark the optiongroup, I want a a popup when he press the button.

I guess it will be an if- else sentence in vba?

I'm not in to vba, so I need some help with this code.

Thx!
 
Edit the button which moves to the next post and put something like ...

If IsNull(Insert Name Here) then
Msgbox "You forgot to fill in all the fields"
Else
[Insert code here]
End If
 
Thank you!

Simple, but difficult enough for me :o)
 

Users who are viewing this thread

Back
Top Bottom