+ Reply to Thread
Results 1 to 2 of 2

Change Event

Hybrid View

  1. #1
    Registered User
    Join Date
    07-14-2004
    Posts
    22

    Change Event

    Is there a way to write code that would trigger if an individual cell is changed. For instance, I have a single cell that is a drop down with 3 options "% of Revenue" "Input" or "Change from Previous Year". I need code that would trigger only if this particular cell was changed.

    Thanks.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645
    The following code will be triggered when A1 is changed, perhaps you can adapt it for your own needs.
    Private Sub Worksheet_Change(ByVal Target As Range)
        If Not Intersect(Target, Range("A1")) Is Nothing Then
            MsgBox "A1 has been changed"
        End If
    End Sub

+ 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