Hello,
I have a data table like a checkbook register. I've written several Macros that allow me to edit the table from a different worksheet using a form (add data, look up data, delete a row in the table, etc.). I want to change the delete row functionality to a void functionality.
Every row has an ID number. I use the following string to lookup the ID number and delete the row.
Set Rng = TransIdCol.Find(What:=SearchValue, _
LookIn:=xlValues, _
LookAt:=xlWhole, _
SearchOrder:=xlByRows, _
MatchCase:=False)
If Not Rng Is Nothing Then
Rng.EntireRow.Delete
I want to take the current value in column I of the row it finds and replace it with "void"
I am struggling finding a string to replace "Rng.EntireRow.Delete" to do that.
*credit to TeachExcel.com for the string I am currently using.*
I have a data table like a checkbook register. I've written several Macros that allow me to edit the table from a different worksheet using a form (add data, look up data, delete a row in the table, etc.). I want to change the delete row functionality to a void functionality.
Every row has an ID number. I use the following string to lookup the ID number and delete the row.
Set Rng = TransIdCol.Find(What:=SearchValue, _
LookIn:=xlValues, _
LookAt:=xlWhole, _
SearchOrder:=xlByRows, _
MatchCase:=False)
If Not Rng Is Nothing Then
Rng.EntireRow.Delete
I want to take the current value in column I of the row it finds and replace it with "void"
I am struggling finding a string to replace "Rng.EntireRow.Delete" to do that.
*credit to TeachExcel.com for the string I am currently using.*