Hi! I am getting a Run Time Error '1004': Method 'Range' of Object '_Global' failed on the last line of code here in a Workbook that has been working fine for years, where nothing has changed. Since it has been 10 years since I wrote the code for this workbook, my VBA skills are rusty to say the least. Does anything about the code below stand out as being off?
Thanks in advance!
Thanks in advance!
VBA Code:
Dim LR As Long
LR = Range("A" & Rows.Count).End(xlUp).Row
Range("$A$1:$L" & lastRow).Select