Private Sub Worksheet_Change(ByVal Target As Excel.Range) Dim VRange As Range Dim cell As Range Dim ChangedCells As Long
Set VRange = Range("InputRange") ChangedCells = 0 For Each cell In Target If Union(cell, VRange).Address = VRange.Address Then ChangedCells = ChangedCells + 1 End If Next cell
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.