+ Reply to Thread
Results 1 to 4 of 4

Trying to create a macro with pop up box for selection from table

  1. #1
    Registered User
    Join Date
    02-03-2021
    Location
    Poland
    MS-Off Ver
    2017
    Posts
    2

    Trying to create a macro with pop up box for selection from table

    Hello,

    As I am new in creating macros I need a little help.


    I have a file with open orders in my system, and i need to filter them by specified family and client. I have done almost everything I need but I am stuck on one option.
    At the begining of macro I need to have a pop up box, where user can chose the client and family that he want to see the open orders:
    It is like that:
    In column B I hava the client and in column D i have families. And as neewbie in VBA i have no idea what should I do, I will be grateful for any help and tips
    Last edited by meisnois; 02-03-2021 at 05:13 AM.

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Trying to create a macro with pop up box for selection from table

    Help us to help you - upload a de-sensitised copy of your workbook - otherwise it becomes a drawn out guessing game.
    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    02-03-2021
    Location
    Poland
    MS-Off Ver
    2017
    Posts
    2

    Re: Trying to create a macro with pop up box for selection from table

    Thank you,

    I got a little to fast, and did not think of sharing the file. I have attached it.
    In file sample it the before, and in sampe 2 is after. I have done the final result but just chossing the families and clients in the code, but I need to have the option to choose them by pop up box, as not only me will be using this macro.
    Attached Files Attached Files
    Last edited by meisnois; 02-03-2021 at 05:19 AM.

  4. #4
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Trying to create a macro with pop up box for selection from table

    Give the attached a trial - green button top right-hand side will re-launch the form when/after you have dismissed it.
    Some of the column headers in the second sheet did not coincide with those on the data sheet so no info passed to the query sheet.
    Example;- Column 'A' - where does the time come from ?
    torachan.
    Attached Files Attached Files

+ 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] Create Pivot Table selection options change during use
    By Siarkitech in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-24-2020, 06:30 AM
  2. Create new sheets based on Selection out of a table
    By bluesurger in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-15-2016, 11:06 AM
  3. Replies: 1
    Last Post: 06-30-2016, 11:54 AM
  4. How to create a dynamic macro that will create pivot table
    By thlee1122 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-08-2015, 11:49 PM
  5. [SOLVED] create a drop down which allows multiple selection and change content of table based on th
    By melody10 in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 08-16-2015, 06:12 AM
  6. Create a macro to create a pivot table in a worksheet
    By Triscia in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-15-2015, 10:53 AM
  7. macro to create drop down list (dependent on earlier selection)
    By jw01 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-22-2014, 03:25 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