I would like to use an error handling statement to define string variable if an error occurs. The error has the potential to occur if the value of RngEnd is near enough to the top of the sheet to return a value that would be outside of the sheet. How can I do this so that the error handling method is only used during this line of code?
I would like to write something like
Code:
RngFutureR = RngEnd.Offset(-25, 0).Address
I would like to write something like
Code:
On Error RngFutureR = string value