Hi folks, been trying to figure this out for hours now...too many dead leads, maybe one of you can help.
We've a large number of old MDB files, each with a bunch of modules. We're trying to save all the VBA code across all MDB's modules to a single ACCDB table so we can search through it for strings e.g., references to specific folders or files.
From a new ACCDB I'm crawling a set of folders and their subfolders to find all the *.mdb's
For each mdb I can loop through the modules and get their names, but I can't seem to be able to retrieve their VBA.
To illustrate, assume A.accdb finds the following:
B.mdb: has modules W and X
C.mdb: has modules Y and Z
We're trying to put W, X, Y, and Z's VBA into a long Text field in a table in A.accdb so we can search using Instr(...) across all MDB's and their modules.
We know this won't be efficient text searching but it's certainly more efficient than opening and searching through each MDB one at a time: assume we're talking hundreds of MDB's.
Thanks for your help folks
We've a large number of old MDB files, each with a bunch of modules. We're trying to save all the VBA code across all MDB's modules to a single ACCDB table so we can search through it for strings e.g., references to specific folders or files.
From a new ACCDB I'm crawling a set of folders and their subfolders to find all the *.mdb's
For each mdb I can loop through the modules and get their names, but I can't seem to be able to retrieve their VBA.
To illustrate, assume A.accdb finds the following:
B.mdb: has modules W and X
C.mdb: has modules Y and Z
We're trying to put W, X, Y, and Z's VBA into a long Text field in a table in A.accdb so we can search using Instr(...) across all MDB's and their modules.
We know this won't be efficient text searching but it's certainly more efficient than opening and searching through each MDB one at a time: assume we're talking hundreds of MDB's.
Thanks for your help folks