VBA Compile Error

R

Rad

Hi,

What is the subtitustion for Reference in VBA, VBA does not recognize type
Reference, or References?

when use the below declarations, I get Compile Error

User definded type not defined???
Dim myRef As Reference
Dim myRefs As References
Dim refDwg As Reference, refStn As Reference

Thanks,
Rad
 
J

JuneTheSecond

Add reference to the "Microsoft Visual Basic for Application Extensibility
nnn" by the menu "Tools","Referencing..." in VBA editor window.
 
Top