I was looking at the code noted in: Determine whether user is adding or deleting rows
I can't figure out how to properly define the range mentioned: "define a range name such as RowMarker =$A$1000
"
Which causes this line of code to error: Set rng1 = ThisWorkbook.Names("RowMarker").RefersToRange
Could someone give me a hand on how to properly define the range and where I need to do it ? Many thanks in advance.