By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,249 Members | 1,873 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,249 IT Pros & Developers. It's quick & easy.

EXCEL VBA compile error help!

100+
P: 142
Need help, please!
In an excel vba automation, in my code have some codes like "Global vsapp as visio.application", but in some other computer don't have visio installed, and i won't use that visio function but other functions at those computer, but that come out a "compile error:user-defined type not defined" when i use the other function. Is there a way to not refer the visio when there is no visio installed, but refer it when it is installed?
thanks,
Jun 20 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.