+ Reply to Thread
Results 1 to 5 of 5

2 pull down menus mirror each other

  1. #1
    Registered User
    Join Date
    09-21-2015
    Location
    south carolin
    MS-Off Ver
    7
    Posts
    41

    2 pull down menus mirror each other

    I have two pull down menus using data validation and lists. It is a simple yes or no list. The menus are located on different sheets but when one is changed or selected, I want the other pull down to show the same value. Is there a code or another simple way to do this?

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: 2 pull down menus mirror each other

    Use a sheet specific macro on each sheet

    Right Click on your Sheet1 and select view code.
    Paste this code in the visual basic module and close it

    This links cell A1 to cell B1 on Sheet2
    Please Login or Register  to view this content.
    Right Click on your Sheet2 and select view code.
    Paste this code in the visual basic module and close it

    This links cell B1 to cell A1 on Sheet1
    Please Login or Register  to view this content.

    Patse this code into a macro module
    Please Login or Register  to view this content.
    Attached Files Attached Files
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    09-21-2015
    Location
    south carolin
    MS-Off Ver
    7
    Posts
    41

    Re: 2 pull down menus mirror each other

    Thanks mehmetcik your code works. My only question is why can't I see the last code when I go to developer then macros. If I needed to delete the code in the future how would I do that?

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: 2 pull down menus mirror each other

    The last code should be in a macro module

    select developer

    select visual basic

    select view and the project explorer

    the "Modules" are your normal macro modules, double click on them or right click and select view code to see them
    the "Sheets" are your sheet specific macros, double click on them or right click and select view code to see them
    "this workbook" contains your workbook wide macros, any macro here will work in all sheets.

  5. #5
    Registered User
    Join Date
    09-21-2015
    Location
    south carolin
    MS-Off Ver
    7
    Posts
    41

    Re: 2 pull down menus mirror each other

    Thanks again!

+ 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. Pull Down Menus
    By tagsale in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-05-2013, 01:21 AM
  2. How to pull data based on 2 different dropdown menus
    By ddodge68 in forum Excel General
    Replies: 5
    Last Post: 07-11-2012, 01:22 PM
  3. pull down menus.
    By robwoolly in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-30-2007, 06:57 AM
  4. hyper links in pull down menus
    By Wayne Knazek in forum Excel General
    Replies: 2
    Last Post: 06-26-2006, 09:45 AM
  5. hyper links in pull down menus
    By Wayne Knazek in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-18-2006, 08:35 AM
  6. Pull down menus possible in excel?
    By bwallan in forum Excel General
    Replies: 1
    Last Post: 01-20-2006, 03:00 PM
  7. [SOLVED] how do I set up pull down menus within a cell; excel
    By pull down menues in a cell in forum Excel General
    Replies: 2
    Last Post: 10-03-2005, 07:05 AM
  8. Replies: 2
    Last Post: 06-13-2005, 08:05 AM

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