Scanning Access Modules from Excel

CalvinGraham

Board Regular
Joined
Jan 27, 2010
Messages
67
Hi,

I can't seem to spot an existing thread on this, if I'm wrong then do refer me.

Anyway, I've got an Excel file that I've documented my Excel/SQL work in and I wanted to pull through Access linkages into it. Essentially, I want to have an Excel sub that looks at an access database, scans the text in the modules/forms and pulls out the SQL references in them. I could pull this from the Access Module text using basic search techniques, looking for indicators like "sqlproc_foobar" or "FROM dbo.foobar" etc - that part's simple enough. What I can't seem to do is import the Access modules to an excel string variable.

I did some work with Word ages back and I'm aware of the refernces thing you have to tick and the VBE concept (including the dangers of it!). However, can't get my head around the various object types and was hoping someone had an off the shelf example?
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,215,766
Messages
6,126,761
Members
449,336
Latest member
p17tootie

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top