S
Steve Jorgensen
I created an ActiveX DLL library in Visual Basic 6, and tested it from Excel
VBA, and all my tests passed. Then I tried to help integrate this inot
someone else's Excel application, but we got a compile error somthing like
"User defined datatype not defined." We are both using Excel 2002.
The compiler does not move the cursor or highlight any line of code when
reporting this error, so there's no way to know where the error comes from. I
suspected the VBA project had become corrupted somehow, so I tried re-creating
all the code modules in a new Excel file, copied all the text from the old
modules into the new ones, added the reference to my library, and it worked.
Great - problem solded, right?
Today, the same person came back to me and said the problem is occurring
again, and she tried the same fix I used the first time, but to no avail.
Does anyone know what might be going on here or how to fix it?
Thanks,
Steve J.
VBA, and all my tests passed. Then I tried to help integrate this inot
someone else's Excel application, but we got a compile error somthing like
"User defined datatype not defined." We are both using Excel 2002.
The compiler does not move the cursor or highlight any line of code when
reporting this error, so there's no way to know where the error comes from. I
suspected the VBA project had become corrupted somehow, so I tried re-creating
all the code modules in a new Excel file, copied all the text from the old
modules into the new ones, added the reference to my library, and it worked.
Great - problem solded, right?
Today, the same person came back to me and said the problem is occurring
again, and she tried the same fix I used the first time, but to no avail.
Does anyone know what might be going on here or how to fix it?
Thanks,
Steve J.