Broken References

B

Burnsie

Hi,

I want to be able to fix any broken references via code. However, when I
intentionally break a reference I can't run my code to remove the reference
because I get a compile error.

In my main module I have an auto_open subroutine which calls my routine to
remove any broken references (then will run another routine to add the
correct reference). However, when I run auto_open the first thing that
happens is I get an error "user-defined type not defined" saying my public
variable "Public gWeather As New Weather" (references the Weather dll)
I was hoping by calling the remove broken references subroutine first I
could fix any problems with broken references but obviously not.

So this leads to the question, how can you remove broken references (via
code) if you code never compiles and therefore, you are not able to run your
subroutine?

Thanks for any advice you can provide.

Burnsie
 
A

Austin Myers

Same thought I had Steve, maybe even build a COM that loads at start up to
do the lifting for the add in.



Austin Myers
MS PowerPoint MVP Team

Provider of PFCMedia, PFCPro, PFCExpress
http://www.pfcmedia.com
 

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