Module update

G

Glen Mettler

I have 3 modules - 1,2,3. Module1 contians code to delete and then import
module 3. It works just fine except that after the import instead of
Module3, I have Module31. How can I force the name to Module3?

Glen
 
R

Ron Dahl

I was able to get around that problem by putting the code to delete the
modules in one procedure, and then putting the code to add Module3 in a
separate procedure.

I'm not sure it was necessary, but I also had a third procedure that would
first run my DeleteModules procedure and then it would run the AddModules
procedure.

I hope this works for you.
Ron Dahl
 
G

Glen Mettler

Ron,
That's what I have done also. The problem is that the module name ends up
at Module31 instead of Module3. I need it to be Module3 because that's what
the update code in Module1 is looking for. If it changes it to Module31, it
will not find Module3 the next time and I get an error.

Glen
 

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