PDA

View Full Version : Solved: Understanding VBA Code



jo15765
11-06-2011, 10:49 AM
I was curious if there was a way to have certain references installed on the wrokbook_open() event. I found this code on this site, and to me it looks like it checks if a reference is installed and if it is not installs it. Am I understanding that code correct?

http://www.vbaexpress.com/kb/getarticle.php?kb_id=693

Capungo
11-06-2011, 12:56 PM
Yes, you have understood it right. As long as you know which reference you look for, it'll work fine.