+ Reply to Thread
Results 1 to 3 of 3

trigger a macro when changing a cell

Hybrid View

marcospaterson trigger a macro when changing... 03-09-2008, 07:15 PM
VBA Noob Try Private Sub... 03-09-2008, 07:20 PM
marcospaterson works perfectly vba noob.... 03-09-2008, 07:27 PM
  1. #1
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try

    Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Address(0, 0) = "A1" Then
        If Not IsEmpty(Target) Then
            MsgBox Target.Value
        End If
    End If
    End Sub
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  2. #2
    Registered User
    Join Date
    01-13-2007
    Posts
    71
    works perfectly vba noob.
    made the ajustments to fit on my demand but the main issue is solved!!
    many thx for the wise tip!!

+ 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