+ Reply to Thread
Results 1 to 20 of 20

How to setup dependent drop down list...?

  1. #1
    Forum Contributor spiwere's Avatar
    Join Date
    01-11-2013
    Location
    IN
    MS-Off Ver
    Excel 2007
    Posts
    410

    How to setup dependent drop down list...?

    Greetings Everyone!

    I’m looking for some help to be able to automate an alert process for my customers. Usually, I need to send out 25-30 alerts every day. In the past these were almost the same, and I was using the attached solution of Ron. It works brilliantly. However, there have been a lot of changes in our work dynamics because which the process has changed by leaps and bounds. The alert process is the same but the problem is that I now have 35 separate types of them that need to be relayed depending upon the scenario.

    What I’m requesting:

    Is some help with some customization to this existing superb solution as per the explanation in tab 1 of the attached sheet. Please assist

    There is load of data so I would like it be as dynamic and as user friendly as it can be made.

    Thank you in advance!
    Attached Files Attached Files
    Last edited by spiwere; 04-12-2013 at 02:59 PM.

  2. #2
    Forum Contributor spiwere's Avatar
    Join Date
    01-11-2013
    Location
    IN
    MS-Off Ver
    Excel 2007
    Posts
    410

    Re: How to setup dependent drop down list...?

    Dear Forum experts,

    Request your assistance in setting up a dependent drop down list.

    Please advise and assist!

    Regds,
    Spi

  3. #3
    Forum Contributor spiwere's Avatar
    Join Date
    01-11-2013
    Location
    IN
    MS-Off Ver
    Excel 2007
    Posts
    410

    Re: How to setup dependent drop down list...?

    I await help on this please assist.

    Thanks!

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to setup dependent drop down list...?

    Hi Spi

    I'm not at all clear what you wish to see here
    2) Another Dropdown to populate Column I of RDBMail after concatenating Column A of Database with the chosen subject line
    Please complete your workbook with the desired results.

    4-14-2013 4-03-04 PM.jpg
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  5. #5
    Forum Contributor spiwere's Avatar
    Join Date
    01-11-2013
    Location
    IN
    MS-Off Ver
    Excel 2007
    Posts
    410

    Re: How to setup dependent drop down list...?

    Dear John,

    First and foremost, please accept my apologies for this late response. I'm away from work with no access to a computer. I'll be back on Wednesday, and will post a file with example.

    Really appreciate your time, and apologies for this unintended delay.

    Thanks a lot!

    Regards,
    Spi

  6. #6
    Forum Contributor spiwere's Avatar
    Join Date
    01-11-2013
    Location
    IN
    MS-Off Ver
    Excel 2007
    Posts
    410

    Re: How to setup dependent drop down list...?

    Dear John,

    Here's the workbook with the desired results.

    Sorry about the delay! I was away for the past few days with very limited access.

    Regards,
    Spi
    Attached Files Attached Files

  7. #7
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to setup dependent drop down list...?

    Hi Spi

    The attached workbook has code to do this
    1) To, CC and Bcc fields to get autopopulated depending upon the selction done in Column M. Dropdown list in Database sheet column A
    Database Sheet RDBMail
    Column B = To
    Column C, D & E = CC
    Column F = Bcc

    2) Another Dropdown to populate Column I of RDBMail after concatenating Column A of Database with the chosen subject line
    I did nothing with your Email Code.

    Please note the Workbook Open and Workbook BeforeClose Code in ThisWorkbook Module. Let me know of issues.
    Attached Files Attached Files

  8. #8
    Forum Contributor spiwere's Avatar
    Join Date
    01-11-2013
    Location
    IN
    MS-Off Ver
    Excel 2007
    Posts
    410

    Re: How to setup dependent drop down list...?

    Awesome! I'll give it a try and comeback with the outcome shortly

    Thanks a lot John. You rock!

    It is infact working. I closed and opened the file again, and it really did. Let me test it a bit more. I'll comeback shortly.

    Thanks!
    Last edited by spiwere; 04-18-2013 at 11:17 AM.

  9. #9
    Forum Contributor spiwere's Avatar
    Join Date
    01-11-2013
    Location
    IN
    MS-Off Ver
    Excel 2007
    Posts
    410

    Re: How to setup dependent drop down list...?

    Hey John,

    Just facing a small issue after I added my complete list into the Database tab (There are about 2000 rows of customer names along with email addresses) and added all the customer names to the Lists tab (column A). It is giving me a run time error 1004. No cells were found.

    Could you please advise as why this may be happening or if I'm missing anything...

    Thanks,
    Spi

  10. #10
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to setup dependent drop down list...?

    Hi Spi

    added all the customer names to the Lists tab
    The above infers you MANUALLY added the Customer Names to Sheet Lists. Did you in fact do a manual add of the Names? If so, please don't. The Code does that in the WorkBook Open event. It creates your Customer Names from those included in the Database.

    You don't indicate what line of Code is throwing the error but the error would indicate the Code found no records in an AutoFilter routine. If you did do a manual entry of the Customer Names and there's a misspelling or a Customer Name included in Lists that's not Database it won't find any records.

    Please explain the steps you took.

  11. #11
    Forum Contributor spiwere's Avatar
    Join Date
    01-11-2013
    Location
    IN
    MS-Off Ver
    Excel 2007
    Posts
    410

    Re: How to setup dependent drop down list...?

    Point 1 - My Bad!...Yes I understand it now. I don't need to add the names manually.

    Point 2 - I guess I need further assistance. The error is appearing on this line
    Please Login or Register  to view this content.
    . It appears that the population of email address is dependent on the subject line and not on or ONLY on the company name. The error occurs whenever Column G in Database is blank. Am I correct sir?

    I'm using simple numeric values 1 - 2000 as the customer names while testing to avoid and issues and understand how it works. Trying to keep it simple. Hope I'm not making it complicated by doing this

    Sorry for all the trouble. The subject line is to be used as a secondary drop down which is my next phase when the body of the email is to be related to it, but I want to concentrate on the above and understand how it work first

    Regards,
    Spi

  12. #12
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to setup dependent drop down list...?

    Hi Spi

    Please post the offending workbook so I can actually see what's happening...

  13. #13
    Forum Contributor spiwere's Avatar
    Join Date
    01-11-2013
    Location
    IN
    MS-Off Ver
    Excel 2007
    Posts
    410

    Re: How to setup dependent drop down list...?

    Here's the file.

    Thanks!
    Attached Files Attached Files

  14. #14
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to setup dependent drop down list...?

    Hi Spi

    The AutoFilter wasn't getting cleared in Database and the Last Row reference was incorrect. Make the 3 additions and 1 change as indicated and all should be well. Let me know of issues.
    Please Login or Register  to view this content.

  15. #15
    Forum Contributor spiwere's Avatar
    Join Date
    01-11-2013
    Location
    IN
    MS-Off Ver
    Excel 2007
    Posts
    410

    Re: How to setup dependent drop down list...?

    Thanks John. This worked like a charm!

    Would you be okay helping me with the last phase of this request? I need to be able to append the body of the email by using the subject line as the filter. If yes, I can go ahead and post the sample after doing all the ground work with examples by Tuesday. Please advise.

    Nevertheless, this has been a tremendous help. Half the battle has been won

    Very much appreciated!

    Thanking you for all the help. It surely wouldn’t have worked without your help!

    Have a great weekend. Cheers!!!

  16. #16
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to setup dependent drop down list...?

    Hi Spi

    You're welcome. Glad I could help.

    I'd think your next phase is the subject of a new Thread. If you wish to PM me with a link I'll be glad to look at it. In the meantime, if the subject of this Thread is satisfied, please mark it as SOLVED.

  17. #17
    Forum Contributor spiwere's Avatar
    Join Date
    01-11-2013
    Location
    IN
    MS-Off Ver
    Excel 2007
    Posts
    410

    Re: How to setup dependent drop down list...?

    Hi John,

    It actually is a part of this request and is related to getting the mail body via excel. The greatest challenge is that there are about 30 odd different customized emails that I need to relay to my recipients depending upon the scenario. The choice will depend upon the subject of the email and will need some data to be pulled and incorporated in within the body depending upon the case and recipient.

    If you suggest, I'll be more than happy to start a new thread after closing this one as "Solved". Please advise.

    I'm currently working on a sample to derive the way I need the output, and will share that in 2-days time. I'm trying to be as clear as I can be on my request!

    Really appreciative of the help and guidance! I've seen few other solutions by you and they all are exceptional.

    Please advise. Have a fantastic weekend!

    Regards,
    Spi

  18. #18
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to setup dependent drop down list...?

    Hi Spi

    I think it will be in your best interest to start a new Thread. You will probably not get much future traffic on this Thread...but, suit yourself.

  19. #19
    Forum Contributor spiwere's Avatar
    Join Date
    01-11-2013
    Location
    IN
    MS-Off Ver
    Excel 2007
    Posts
    410

    Re: How to setup dependent drop down list...?

    I'll take your word and go by it. This part is solved to perfection. I'll need some help to chose the body of the email based on the subject line.

    I'm working to get the logic's and email variations in place and should get back with the examples shortly. As you suggested, I'll PM you the link as well once I've posted it.

    For now, going ahead and closing this as solved.

    Very much appreciate your help and assistance!

    Regards,
    Spi

  20. #20
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to setup dependent drop down list...?

    You're welcome...glad I could help. Thanks for the Rep.

    PM me with your new Thread...I'll look at it.

+ 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