+ Reply to Thread
Results 1 to 3 of 3

Pop-up window to allow predefined option selection

  1. #1
    Registered User
    Join Date
    11-25-2003
    Location
    Decatur, Alabama
    Posts
    94

    Pop-up window to allow predefined option selection

    Friends,

    I would like to code into a macro a pop-up window that gives the user predefined selections of which to choose one. They would click one of them, then click OK or whatever button they should press. I would then want the choice they selected to be available to insert into a cell on the spreadsheet.

    Is this possible?

    Thank you very much!
    Mike
    Learn to Serve Others. Kindness is far better than the alternative.

  2. #2
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: Pop-up window to allow predefined option selection

    Hi Mike,

    this is possible by using a USERFORM.
    Read more about it on : http://www.excel-vba-easy.com/vba-us...excel-vba.html
    Please click the * below if this helps

  3. #3
    Registered User
    Join Date
    11-25-2003
    Location
    Decatur, Alabama
    Posts
    94

    Re: Pop-up window to allow predefined option selection

    That was a great help.. Thank you!

    I have two questions:

    I have created a user form that has three elements to it where the user would input data:

    text Field named BatchNumber
    text field named BatchDate
    list box that draws data from Sheet1!A1:A4

    In the "tutorial" all of the values acquired from the user form were direct-entered on the spreadsheet. I want the values to be available for later use in a macro that comes after the form closes. Can this be done?

    Also .. I am not getting how to close the form (saving the values entered) when the OK button that I have created is clicked. Currently it just sits there..

    Thank you!
    Mike

+ 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. Replies: 0
    Last Post: 04-17-2013, 10:31 AM
  2. Replies: 1
    Last Post: 05-03-2012, 10:50 AM
  3. Replies: 3
    Last Post: 10-27-2008, 08:32 AM
  4. Opening seperate sheet in wb in new window in predefined zoom
    By camcrazy08 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-30-2007, 09:57 AM
  5. [SOLVED] Option window in macros
    By sbmr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-15-2006, 12:40 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