Hi Guys I am getting this error when my workbook opens. This started happening when we upgraded our office to 2016
else without if
and it brings me here
If ActiveWorkbook.name = "Roof System.xlsm" Then Range("J1").Formula = "=today()"
Else
Exit Sub
End If
not sure why this is happening...