beginner VBA coder here, and running into an error message I just can't seem to solve.
When I step through the code (F8), the last row below flows through to my errorhandler, instead of the code immediately after it, leading me to believe that the error in the 'LastRowYTD' row:
Sub EMEA_Dashboard_VBA()
Dim LastRowYTD As Long
Dim MEF_YTD As Workbook
On Error GoTo ErrorOutputYTD
LastRowYTD = Worksheets("Dashboard").Range("A" & Rows.Count).End(xlUp).Row - 2
I had the code working before, but for some reason, it doesn't want to cooperate now.
I would be very appreciative of any suggestions! Thank you :)