+ Reply to Thread
Results 1 to 6 of 6

Already selected values from DropDown list dynamically updating on multiple sheets

  1. #1
    Registered User
    Join Date
    02-23-2018
    Location
    Budapest, Hungary
    MS-Off Ver
    2013
    Posts
    3

    Already selected values from DropDown list dynamically updating on multiple sheets

    Hello,
    after googling for 2 days and trying to figure it out myself and failing, i came here to ask for some help.

    I have mulitple sheets with ranges in it containing values selected from a drop down list.
    Worksheets("Part Database").Range("C3:C10") <-range contains values selected from DropDownList
    Worksheets("APM2").Range("D5:D11") <-range contains values selected from DropDownList
    Worksheets("APM3").Range("K8:K15") <-range contains values selected from DropDownList
    Worksheets("Input").Range("I2:I7") <- this sheet range contains the DropDown list source, I1 is the header of the list, the code also pasted on this sheet.

    Please Login or Register  to view this content.
    The following code updates the ALREADY selected values from the DropDown on the Part Database sheet, if i change the source of the DropDownList on sheet "Input". It works just fine.

    But i want to add more two more sheet range to the code to work:
    Worksheets("APM2").Range("D5:D11")
    Worksheets("APM3").Range("K8:K15")
    The question is, how do i implement it to the code, so it not only updates the Part Database sheet C3:C10 range, but the two more ranges on APM2 and APM3 sheets?
    Last edited by nyuffancs; 02-26-2018 at 04:30 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Already selected values from DropDown list dynamically updating on multiple sheets

    Hi nyuffancs and welcome to the forum,

    Without seeing an example file it is hard to understand your question. It sounds like you need to learn about Dynamic Named Ranges or Cascading Dropdown to do your problem.

    http://www.ozgrid.com/Excel/DynamicRanges.htm
    https://www.excelcampus.com/tables/d...nt-drop-lists/

    If neither topic helps then add an example workbook:
    Attach a sample workbook. 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.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    02-23-2018
    Location
    Budapest, Hungary
    MS-Off Ver
    2013
    Posts
    3

    Re: Already selected values from DropDown list dynamically updating on multiple sheets

    Hello, and thank you for replying!

    I have created an example workbook to make it easier to understand, i hope it will help!
    Attached Files Attached Files

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Already selected values from DropDown list dynamically updating on multiple sheets

    Hi nyuffancs,

    I'm sorry but your example file doesn't help me understand your problem. I see your code (which should be enclosed in code tags) but it doesn't help me much either. What are you trying to do? Why do you want all your ranges to be equal to what is selected on your first sheet? Are you simply trying to understand how to write code?

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Already selected values from DropDown list dynamically updating on multiple sheets

    OK,

    After a lot of head scratching to understand what you wanted, see if this works:

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    02-23-2018
    Location
    Budapest, Hungary
    MS-Off Ver
    2013
    Posts
    3

    Re: Already selected values from DropDown list dynamically updating on multiple sheets

    This is exactly what i wanted to achieve, thank you so much!

    It works perfectly!

    Now if i change the source of the DropDownList, it changes the already selected values automatically on the whole workbook, perfect!

+ 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: 07-21-2015, 04:44 PM
  2. [SOLVED] VBA not updating the dropdown list after sheets added.
    By Ginge1267 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-24-2015, 04:17 PM
  3. Replies: 0
    Last Post: 08-08-2014, 12:12 PM
  4. Replies: 11
    Last Post: 12-03-2013, 03:12 AM
  5. Replies: 1
    Last Post: 05-11-2012, 07:04 AM
  6. Replies: 21
    Last Post: 12-02-2009, 03:27 PM
  7. Dynamically updating range of cells via dropdown menu
    By dancross in forum Excel General
    Replies: 6
    Last Post: 04-20-2009, 11:10 PM

Tags for this Thread

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