Hi all,
I am trying to manage my modules and was wondering if VBA has the
ability to import/include/require modules at runtime from outside the project.At the moment I have duplicate modules for each ACCESS
vba and everytime I need to change something I have to change ALL of it.... Other programming language can do this so there must be a way
to do this in VBA...I hope
I have tried using the code below but this seems to just add
module everytime I open the form
Code:
Private Sub Form_Open(Cancel As Integer)
'Application.VBE.ActiveVBProject.VBComponents.Import (Application.CurrentProject.Path & "\test.bas")
End Sub
Please could someone help me on this issue.
Thank you