![]() |
|
#2
|
|||
|
|||
|
Must be your path statement
This works for a module in the active documents parent folder: Code:
Sub Document_New() ActiveDocument.VBProject.VBComponents.Import ThisDocument.Path & "\Module1.bas" End Sub |
| Tags |
| auto install, install from excel, word macros |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Importing Pub files into another Pub document | drlynda | Publisher | 0 | 11-20-2014 02:02 PM |
Importing .msg files into another PC ?
|
bill123 | Office | 2 | 08-15-2011 09:47 AM |
| Is there any way of importing Indicators field through code? | Prabhakar | Project | 0 | 04-07-2011 05:50 AM |
| Importing many vcf files in excel | shiflerg | Excel | 0 | 01-26-2011 09:16 AM |
| Importing CSV files into Oulook | victoria61485 | Outlook | 5 | 12-03-2010 05:33 AM |