Guest User

Untitled

a guest
Jan 18th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. Private Sub Worksheet_Change(byval target as range)
  2.  
  3. If Not Intersect(target.address = Range("YourCells")) is Nothing Then
  4. MyMacro()
  5. End If
  6.  
  7. End Sub
  8.  
  9. Private Sub Worksheet_Change(byval target as range)
  10.  
  11. If target.address = Range("YourCell").Address Then Application.Calculate
  12.  
  13. End Sub
  14.  
  15. Private Sub Worksheet_Activate
  16.  
  17. Application.Calculation = xlCalculationManual
  18.  
  19. End Sub
  20.  
  21. Private Sub Worksheet_Deactivate
  22.  
  23. Application.Calculation = xlCalculationAutomatic
  24.  
  25. End Sub
Add Comment
Please, Sign In to add comment