Skip to content

Commit d9d0979

Browse files
authored
Comments
1 parent 4899d77 commit d9d0979

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Excel VBA - Dynamic cell.vb

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Private Sub Worksheet_SelectionChange(ByVal Target As Range)
33
Dim current_cell_address As String
44
Dim previous_cell As Range
55

6+
'Store the previous cell address
67
Set previous_cell = Range("A1")
78

89
current_cell_address = ActiveCell.Address

0 commit comments

Comments
 (0)