Hi
I am using the given code to call a macro
I want to add one more condition to call the macro
first condition is the specific word in the cell B4 and the second condition is d4
so when B4 have a specific and and the D4 have the specific word then the macro should be run
please guide me in this issue
I am using the given code to call a macro
VBA Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address = "$D$4" Then
Call DataEntryToExpense
End If
End Sub
first condition is the specific word in the cell B4 and the second condition is d4
so when B4 have a specific and and the D4 have the specific word then the macro should be run
please guide me in this issue