+ Reply to Thread
Results 1 to 7 of 7

Worksheet_Change based on Cell Dropdown Selection

  1. #1
    Registered User
    Join Date
    03-21-2010
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    90

    Worksheet_Change based on Cell Dropdown Selection

    Hello,

    I am trying to create a new worksheet based on the users input. The input cell is a data validation list. The code below works however, once the code executes and adds the new worksheet when I go back to the Scope worksheet if I make a change in any of the other cells the code runs again. I just want the code to work for that one cell.

    HTML Code: 

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,913

    Re: Worksheet_Change based on Cell Dropdown Selection

    Try this...
    Please Login or Register  to view this content.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Registered User
    Join Date
    03-21-2010
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    90

    Re: Worksheet_Change based on Cell Dropdown Selection

    Thanks! So I tried to add some code after your code to do some formatting on this new sheet like add column headings, make them bold, and add borders in range A1:J10. Now I'm running into an issue that when I go back to the Scope sheet and change another cell other than C8 the code starts to run again.

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,913

    Re: Worksheet_Change based on Cell Dropdown Selection

    Hmm? Can you upload a sample workbook where you are experiencing this issue?

  5. #5
    Registered User
    Join Date
    03-21-2010
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    90

    Re: Worksheet_Change based on Cell Dropdown Selection

    Copy of Scope Sheet - Copy.xlsm

    Here is the file.

    Thanks!

  6. #6
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,913

    Re: Worksheet_Change based on Cell Dropdown Selection

    Not sure what C9 is supposed to do... but try below modification for C8.

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    03-21-2010
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    90

    Re: Worksheet_Change based on Cell Dropdown Selection

    This works perfect now. 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. Replies: 3
    Last Post: 01-19-2017, 12:44 PM
  2. [SOLVED] macro for hiding and unhiding rows based on a dropdown selection and cell value
    By cameldew in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-17-2015, 03:52 PM
  3. Replies: 2
    Last Post: 07-01-2013, 10:51 AM
  4. Changing Cell value based on Dropdown selection
    By src16 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-01-2013, 09:17 AM
  5. Clear cell contents based on offset of dropdown selection on another tab.
    By Drivium in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-22-2013, 10:58 PM
  6. Cull dropdown list options based on selection in another dropdown
    By Kiffar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-20-2012, 01:53 AM
  7. Update a cell based on selection in dropdown list.
    By ladykickbox in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-26-2012, 07:45 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