logandiana
Board Regular
- Joined
- Feb 21, 2017
- Messages
- 107
The error is a Run-time error 21473219767 (80028029)
Automation error
Invalid forward reference, or reference to uncompiled type
THIS CODE HAS BEEN RUNNING STABLE FOR YEARS!!
I run this code several times each day. The code hasn't been changed in years and has always run just fine.
This morning was a different story. Several users are getting the same message when they try so that tells me its not just my machine.
What is causing this error? What changed between yesterday and today?
Automation error
Invalid forward reference, or reference to uncompiled type
VBA Code:
Dim DD As Workbook
Dim Data, Exp As Worksheet
Dim LR1 As Long
Set DD = ThisWorkbook
Set Data = DD.Sheets("Data")
Set Exp = DD.Sheets("export")
LR1 = Data.Cells(Rows.Count, 5).End(xlUp).Row '''<<<<<<< ERRORS here
...
THIS CODE HAS BEEN RUNNING STABLE FOR YEARS!!
I run this code several times each day. The code hasn't been changed in years and has always run just fine.
This morning was a different story. Several users are getting the same message when they try so that tells me its not just my machine.
What is causing this error? What changed between yesterday and today?