+ Reply to Thread
Results 1 to 2 of 2

Creating a Macro for Cell Validation

  1. #1
    Registered User
    Join Date
    01-01-2007
    Posts
    1

    Thumbs down Creating a Macro for Cell Validation

    I wonder if anyone can help out a newbie with "Macros" and the "Validation" feature on Excel.

    I am using the "List" function within "Validation" usng a drop down window to view from a cell (i.e., A1) data from several other cells (i.e., A2, A3, A4). The problem is that if I leave the A1 cell on the A2 cell info, when the data changes in the A2 cell, the A1 cell does not automatically update the info. I need to manually click on the drop down window to get the updated info.

    Can anyone suggest a Macro that will automatically update the info in the A1 cell? Thank you.

  2. #2
    Forum Contributor
    Join Date
    11-29-2003
    Posts
    1,203

    Thumbs up

    Put this code on the worksheet containing the drop-down. I named the Range containing the list "listFill".

    It would be better if the Public declaration was in a Module. But, it seems to work here.

    Please Login or Register  to view this content.
    Last edited by MSP77079; 01-01-2007 at 11:51 AM.

+ 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