Computer Science, asked by tejeshreena8157, 1 year ago

How do i get the old value of a changed cell in excel?

Answers

Answered by amanarya50
0
Private Sub Worksheet_Change(ByVal Target As Range) Dim cell As Range Dim old_value As String Dim new_value As String For Each cell In Target If Not (Intersect(cell, Range("cell_of_interest")) Is Nothing) Then new_value = cell.Value old_value = ' what here? Call DoFoo (old_value, new_value) End If Next cell
Answered by piyushatre29
0

u cna get the old value of a changed cell in excel by..

again writing the value only...

there is no another way if u didn't save your data..


Similar questions