+ Reply to Thread
Results 1 to 5 of 5

code to display next page of multipage form based on answer to questions on existing page

  1. #1
    Registered User
    Join Date
    08-06-2014
    Location
    Pune, India
    MS-Off Ver
    2010
    Posts
    84

    code to display next page of multipage form based on answer to questions on existing page

    Hi All,

    I have series of question as below with Yes/No option button to answer.
    Q1. Yes No
    Q2. Yes No
    Q3. Yes No
    Q4. Yes No
    Q5. Yes No
    I want user to answer all the question. Sequence of answering is not important. If answer to all the question is "Yes" user should be able to view next page of form by clicking the comand button. If answer to any one or more question is "No" should not have access to next page and Msg Box to be displayed "Please close the form".

  2. #2
    Forum Contributor lancer102rus's Avatar
    Join Date
    04-02-2014
    Location
    Ufa
    MS-Off Ver
    Excel 2010, 2013
    Posts
    252

    Re: code to display next page of multipage form based on answer to questions on existing p

    are you kidding? It was already done for you: #post3796212

  3. #3
    Registered User
    Join Date
    08-06-2014
    Location
    Pune, India
    MS-Off Ver
    2010
    Posts
    84

    Re: code to display next page of multipage form based on answer to questions on existing p

    Hi Lancer,
    Its different.
    We progressively went through questionaaire. What I intent is to display all questions at the same time. Sequence of answering is not imp.

  4. #4
    Forum Contributor lancer102rus's Avatar
    Join Date
    04-02-2014
    Location
    Ufa
    MS-Off Ver
    Excel 2010, 2013
    Posts
    252

    Re: code to display next page of multipage form based on answer to questions on existing p

    Well then attach example file with questions and option buttons

  5. #5
    Registered User
    Join Date
    08-06-2014
    Location
    Pune, India
    MS-Off Ver
    2010
    Posts
    84

    Re: code to display next page of multipage form based on answer to questions on existing p

    Hi Lance,
    Sorry for delayed reply.
    I have done it with IF & And statement in VBA code.
    viz: If ob1.value=true and ob1.value=true then
    step II
    Else
    Msg box as required.

    Thanks for your support.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] MultiPage Form / cell to show active page
    By ckk403 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-12-2012, 04:02 PM
  2. Hiding Content of specific Multipage page but not the page tab
    By kuraitori in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-15-2010, 03:42 AM
  3. Changing the Color of Page on a MultiPage Form
    By NaNaBoo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-31-2009, 04:21 AM
  4. Multipage form: Referencing controls on one page
    By Post Tenebras Lux in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-11-2006, 02:45 PM
  5. Adding controls to each page in a multipage form
    By michael fuller in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-13-2006, 05:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1