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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top