Hi!
I have a userform in word. Im using multiple optionbuttons to print the desired text for the user based on the marked optionbuttons.
My question is when you run the IF statement, for the first three choices? How can in the code include 4 new statments that comes with the first choice. Let me give you and example.
Three choices
1.Blue
2.Green
3.Red
Green has the following choices:
1.Light
2.Medium
3.Dark
How do include that in an IF statment?
Here is a sample of my code:
If OptionButton2 = True Then
UpdateBookmark "bokmark2", "Påminnelse"
UpdateBookmark "bokmark1", TextBox13
UpdateBookmark "text1", "BESLUT" & _
vbCrLf & vbCrLf & _
"Skatteverket beslutar att inte medge undantag enligt 30 § lag (2007:592) om kassaregister." & _
vbCrLf & vbCrLf & vbCrLf & vbCrLf & _
"MOTIVERING." & vbCrLf & _
"Ni har ansökt om undantag med hänvisning till att:" & _
This i were it should again look at the choices thats available for green: Light, Medium, Dark
Is there any tutorial ive been looking around.
Cheers
Carl
I have a userform in word. Im using multiple optionbuttons to print the desired text for the user based on the marked optionbuttons.
My question is when you run the IF statement, for the first three choices? How can in the code include 4 new statments that comes with the first choice. Let me give you and example.
Three choices
1.Blue
2.Green
3.Red
Green has the following choices:
1.Light
2.Medium
3.Dark
How do include that in an IF statment?
Here is a sample of my code:
If OptionButton2 = True Then
UpdateBookmark "bokmark2", "Påminnelse"
UpdateBookmark "bokmark1", TextBox13
UpdateBookmark "text1", "BESLUT" & _
vbCrLf & vbCrLf & _
"Skatteverket beslutar att inte medge undantag enligt 30 § lag (2007:592) om kassaregister." & _
vbCrLf & vbCrLf & vbCrLf & vbCrLf & _
"MOTIVERING." & vbCrLf & _
"Ni har ansökt om undantag med hänvisning till att:" & _
This i were it should again look at the choices thats available for green: Light, Medium, Dark
Is there any tutorial ive been looking around.
Cheers
Carl