+ Reply to Thread
Results 1 to 3 of 3

Complex User Input Box

  1. #1
    Registered User
    Join Date
    12-09-2005
    Posts
    1

    Complex User Input Box

    Could someone please offer me an example of how I might achieve the following Message/Input box in Excel and use the selections later on in my macro:

    Document Options

    E-Mail Required Yes/No
    E-Mail Address
    Fax Required Yes/No
    Fax Number
    Printout Required Yes/No
    Destination Printer \\example1\example1 on 1
    \\example2\example2 on 2
    \\example3\example3 on 3





    Be kind - I am new to VBA and I am jumping straight in over my depth.

  2. #2
    Norman Jones
    Guest

    Re: Complex User Input Box

    Hi Andy,

    > Could someone please offer me an example of how I might achieve the
    > following Message/Input box in Excel and use the selections later on in
    > my macro:
    >
    > Document Options
    >
    > E-Mail Required Yes/No
    > E-Mail Address
    > Fax Required Yes/No
    > Fax Number
    > Printout Required Yes/No
    > Destination Printer \\example1\example1 on 1
    > \\example2\example2 on 2
    > \\example3\example3 on 3
    >



    I think that a Userform would be a much better option.


    > Be kind - I am new to VBA and I am jumping straight in over my depth.


    Debra Dalgleish has a very user-friendly tutorial at:

    http://www.contextures.com/xlUserForm01.html

    As you are new to VBA, you may wish to visit David McRitchie's 'Getting
    Started With Macros And User Defined Functions' at:

    http://www.mvps.org/dmcritchie/excel/getstarted.htm

    You might also look at David's tutorials page at:

    http://www.mvps.org/dmcritchie/excel....htm#tutorials

    The VBA material is towards the bottom of the tutorials section.


    ---
    Regards,
    Norman



    "AndyGFLees" <[email protected]> wrote
    in message news:[email protected]...
    >
    > Could someone please offer me an example of how I might achieve the
    > following Message/Input box in Excel and use the selections later on in
    > my macro:
    >
    > Document Options
    >
    > E-Mail Required Yes/No
    > E-Mail Address
    > Fax Required Yes/No
    > Fax Number
    > Printout Required Yes/No
    > Destination Printer \\example1\example1 on 1
    > \\example2\example2 on 2
    > \\example3\example3 on 3
    >
    >
    >
    >
    >
    > Be kind - I am new to VBA and I am jumping straight in over my depth.
    >
    >
    > --
    > AndyGFLees
    > ------------------------------------------------------------------------
    > AndyGFLees's Profile:
    > http://www.excelforum.com/member.php...o&userid=29536
    > View this thread: http://www.excelforum.com/showthread...hreadid=492354
    >




  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello Andy,

    Here is an example using both Message Boxes and Input Boxes in a macro. I wasn't quite sure want you were after for the Printer example, so I substituted an example of calling the Printer Dialog within Excel. The individual parts could be used as needed in your code when you need a response from the user. If you have any questions you can contact me via private message here at the forum or email me [email protected]


    Example:

    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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