Consulting

Results 1 to 4 of 4

Thread: Update cell value on sheet change

  1. #1

    Update cell value on sheet change

    Hi Folks,

    I am trying to update a cell's value when a change occurs to the sheet on which that cell resides.

    I am leveraging a code snippet that I found from a web search - I have attached a test spread sheet.

    Data validation rules for the cells in column K, present three choices from which the user may select.

    It is a change to one of those cells that triggers the macro. I used a MsgBox to display the value of "Target.Address and, even when it displays K3, the remaining code does not update the value in cell L3.

    Can you please help me determine why the code does not fire? I do not get an error message. The cell just does not change.


    Thank you.

    Fergie
    Attached Files Attached Files

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    There is no code in that file, there can't be, it is an .xlsx.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    I attached the wrong file. Mea culpa. But I do not see away to remove that file or to attach the correct one...

  4. #4
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,728
    Location
    Just attach the correct file to a new post
    ---------------------------------------------------------------------------------------------------------------------

    Paul


    Remember: Tell us WHAT you want to do, not HOW you think you want to do it

    1. Use [CODE] ....[/CODE ] Tags for readability
    [CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
    2. Upload an example
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
    3. Mark the thread as [Solved] when you have an answer
    Thread Tools (on the top right corner, above the first message)
    4. Read the Forum FAQ, especially the part about cross-posting in other forums
    http://www.vbaexpress.com/forum/faq...._new_faq_item3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •