Opening an mdb from code

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I want to open an mdb from within another mdb by clicking a button. I guess
that I've got my quotes messed up though, because I can't get it to work:


Dim stAppName As String

' stAppName = "C:\Program Files\Microsoft Office\Office\MSACCESS.EXE
C:\My Documents\Neuro-VISION\SelfGrowthScraper\settings.mdb"

stAppName = "C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" & "
" & "C:\My Documents\Neuro-VISION\SelfGrowthScraper\settings.mdb"
Call Shell(stAppName, 1)

Can somebody please straignten me out?

Thanks in advance.

Alan


.


Quantcast