Replacing a module by coding in VBA

M

mathieu936

Hi!

I would like to replace a module by using VBA code in auto_open sub.

First in my code I deleted a module and importing an other one. But I
have a sub in this module I use un my auto_open and since this module
disappear for a few moment during routine, I have an error because my
sub doesn't exist when called.

I tried to import new module, delete the old one, and rename the new
one with the old's name but it doesn't work...

Any idea?? Thanks!
 

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