Import modul by vba

P

Peter Lingo

Hello,
I would like to generate vba-code by VB, store them as a MODUL.BAS and
import thisMODUL.BAS in a document. Can I do this automaticly by my
VB-application? With the application.OrganizerCopy medthod it is not
possible because the source must be in an do*.

Thanks Peter
 
W

Word Heretic

G'day "Peter Lingo" <[email protected]>,

Each template / document has a vbproject.vbcomponent structure you can
use. However, you can directly add to the vbc lines, thus you dont
need to use the intermediate .bas

This technique in general is producing a 4GL application (it produces
3GL code). I am available for part-time commercial consultation if
required, please contact me offlist.

Steve Hudson - Word Heretic
steve from wordheretic.com (Email replies require payment)


Peter Lingo reckoned:
 

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