Results 1 to 10 of 10

Cannot trigger macro with Worksheet_Change(ByVal Target As Range)

Threaded View

  1. #1
    Registered User
    Join Date
    06-13-2013
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2010
    Posts
    5

    Question Cannot trigger macro with Worksheet_Change(ByVal Target As Range)

    Hello,
    I am not capable to make any Worksheet_Change(ByVal Target As Range) macro works. I tried several of them and none of them works in my Excel 2010. I boiled it down to the simplest version below, I studied several different treads on this forum and still nothing works. Any help is greatly appreciated.

    Private Sub Worksheet_Change(ByVal Target As Range)
    
    If Target.Address = "$A$1" Then
    
    MsgBox "the macro works"
    
    End If
    
    End Sub
    The file is attached - again it simplified to single page, one cell which should be monitored by the macro.
    Attached Files Attached Files

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