tonyflavell
Programmer
I want to open an Excel sheet, from Access, which is in the MY DOCUMENTS directory. How do I specify this for the current profile? Eg:
Dim objXL as Excel.Application
Dim BaseDir as String
BaseDir = "C:\My Documents\UsagesReport.xls")
Set objXL = CreateObject("Excel.Application")
objXL.Workbooks.Open BaseDir
This does not find the MY DOCUMENTS directory! HELP! I'm sure there is a simple way that I am not aware of!