i use this for export on the server

For Each Module In Application.VBE.ActiveVBProject.VBComponents
if Module.Type = 1
Module.Export pthVisual & Module.Name & ".bas"
Module.Export "E:\vb\functions\" & Module.Name & ".bas"
endif
Next

how can i add automatic this modules into the different clients?
I didnt find a proper page helping me about "import"

Re: import modules by Word

Word
Mon Mar 13 21:30:09 CST 2006

G'day "MarcoPolo" <Marco@polo.com>,

Easiest way is to put this in a global template, reference that
template from your other projects and call the function as required.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


MarcoPolo reckoned:

>i use this for export on the server
>
>For Each Module In Application.VBE.ActiveVBProject.VBComponents
> if Module.Type = 1
> Module.Export pthVisual & Module.Name & ".bas"
> Module.Export "E:\vb\functions\" & Module.Name & ".bas"
> endif
> Next
>
>how can i add automatic this modules into the different clients?
>I didnt find a proper page helping me about "import"
>


Re: import modules by MarcoPolo

MarcoPolo
Tue Mar 14 12:15:46 CST 2006


"Word Heretic" <myfullname@iinet.net.au> ha scritto nel messaggio
news:15ec12ttn7jlti59rhahn22k4hi41h1n6r@4ax.com...
> G'day "MarcoPolo" <Marco@polo.com>,
>
> Easiest way is to put this in a global template, reference that
> template from your other projects and call the function as required.

i can't put a template cause on the clients i don't have the rights on
system C:\
so i use a macro to import all the modules (found the sintax)

The only problem now is that i should i delete the modules before import
when i update them. how can I use the module.delete?



Re: import modules by Word

Word
Tue Mar 21 08:25:12 CST 2006

G'day "MarcoPolo" <Marco@polo.com>,

ActiveDocument.VBProject.VBComponents.Remove Mycomponent

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


MarcoPolo reckoned:

>
>"Word Heretic" <myfullname@iinet.net.au> ha scritto nel messaggio
>news:15ec12ttn7jlti59rhahn22k4hi41h1n6r@4ax.com...
>> G'day "MarcoPolo" <Marco@polo.com>,
>>
>> Easiest way is to put this in a global template, reference that
>> template from your other projects and call the function as required.
>
> i can't put a template cause on the clients i don't have the rights on
>system C:\
> so i use a macro to import all the modules (found the sintax)
>
> The only problem now is that i should i delete the modules before import
> when i update them. how can I use the module.delete?
>