Share via

Multi Step Wizard in Word 2016 using Visual Basic

Anonymous
2018-05-15T19:28:44+00:00

I am creating a user form for my client and he would like me to create a multi-step wizard. I am already using the Multi page option, but with one of the pages I want the user to get a question. If they answer "Yes", there is one set of questions. If they answer "No", there is another set of questions. Anyone know how can I create this without using a subset of tabs within the same page? Thanks in advance!

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Doug Robbins - MVP - Office Apps and Services 323.1K Reputation points MVP Volunteer Moderator
2018-05-16T05:16:24+00:00

No, they are completely different.  In the following screen shot, the radio buttons have captions of Yes and No

While you could use a Command Button, as you want the display of the questions controlled by whether or not the user answers Yes or No to a question, radio buttons are the obvious thing to use.

If you are going to use a Command Button, which I would not, you would probably need two of them, one for Yes and another for No and you would have to use additional code to make the command buttons act in a mutually exclusive manner, which is simply done when using Radio Buttons by assigning them all to the one Group.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

6 additional answers

Sort by: Most helpful
  1. Anonymous
    2018-05-15T23:41:06+00:00

    Thanks for your help! Is a CommandButton the same as a radio button?  I used CommandButtons and my labels and textboxes are not showing up when I click the buttons.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2018-05-15T20:12:23+00:00

    Thank you for your help! I already have 12-13 pages in the user form. Is there an option for this that will not create more pages? Thank you also for taking the extra effort inserting the code as I am still learning to use Visual Basic.

    Was this answer helpful?

    0 comments No comments