Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: to execute a macro when any cell value changes

  1. #1
    Guest

    Default

    Can anyone tell me the codes that will execute an already existing macro when any cell value is changed in the worksheet. I think it uses Change event but I can figure out the exact codes. How would private sub affect my macro?

    Thanks
    VS

  2. #2
    Board Regular
    Join Date
    Feb 2002
    Location
    Guderup, Denmark
    Posts
    288
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    try this one. click on the sheet tab, ´click view code and paste it

    Private Sub Worksheet_Change(ByVal Target As Range)
    Call anothermacro
    End Sub

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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