View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
UBER_GEEK UBER_GEEK is offline
external usenet poster
 
Posts: 9
Default Making Cells Automatically Add #'s Instead of being written over

This is the only way i have found, but how to change it to work with a
range, not just one cell.

Public A


Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Application.EnableEvents = False
[a1] = [a1] + A
Application.EnableEvents = True
End Sub


Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
A = [a1]
End Sub