N
Noemi
Hi
I have been able to automate the export of module however I am having
problems importing the module.
The following is the code I currently have to Import but when I run it I get
a file name error and I am not sure why.
Any help would be great.
Public Sub AddModules()
Dim vbproject As vbproject
Dim vbcomp, vbcomp1, vpcom2, vpcomp3, vpcomp4, vpcomp5 As VBComponent
Set vbproject = ThisWorkbook.vbproject
Set vbcomp = ThisWorkbook.vbproject.vbcomponents.Import("G:\Merch
Services\Advertising\Macro\Module3.das")
End Sub
I have been able to automate the export of module however I am having
problems importing the module.
The following is the code I currently have to Import but when I run it I get
a file name error and I am not sure why.
Any help would be great.
Public Sub AddModules()
Dim vbproject As vbproject
Dim vbcomp, vbcomp1, vpcom2, vpcomp3, vpcomp4, vpcomp5 As VBComponent
Set vbproject = ThisWorkbook.vbproject
Set vbcomp = ThisWorkbook.vbproject.vbcomponents.Import("G:\Merch
Services\Advertising\Macro\Module3.das")
End Sub