+ Reply to Thread
Results 1 to 3 of 3

Change cell value when validation list is changed

  1. #1
    Registered User
    Join Date
    05-17-2010
    Location
    kent, England
    MS-Off Ver
    Excel 2003
    Posts
    11

    Change cell value when validation list is changed

    Hi, i have a data validation list in a cell (A1) and when the value in the list is changed, i want the cell next to it to be updated.
    e.g. If A1 = "SPN", B1 should say "Yes".
    When ever i try to do this, i get a 1004 error.

    Please Login or Register  to view this content.
    When it tries to change the value of B1, i get the 1004 error.

    What am i doing wrong?

  2. #2
    Registered User
    Join Date
    06-25-2014
    Location
    Budapest, Hungary
    MS-Off Ver
    2007
    Posts
    40

    Re: Change cell value when validation list is changed

    submit worksheet please, or at least an example

  3. #3
    Forum Contributor pareshj's Avatar
    Join Date
    05-20-2014
    Location
    MUMBAI
    MS-Off Ver
    2007 & 2010
    Posts
    447

    Re: Change cell value when validation list is changed

    Hi Typicalalex1,

    I have done little modification to your code. As you are using worksheet change, your code posted in post#1 is getting called recursively and hence error. Check the below code.

    Please Login or Register  to view this content.

    Regards,
    Paresh J
    Click on "* Add Reputation" as a way to say thanks

+ 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. Change value of cell with validation list
    By Steveapa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-03-2014, 03:36 PM
  2. Change cell value when validation list is changed
    By Typicalalex1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-11-2014, 01:40 PM
  3. Replies: 21
    Last Post: 03-14-2013, 07:33 AM
  4. [SOLVED] Reset dependant validation list when the previous validation list is changed.
    By Rimmu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-10-2012, 09:23 AM
  5. [SOLVED] How can the font in the Data Validation list be changed?
    By Pat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-24-2006, 11:00 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