![]() |
|
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: Mar 2002
Posts: 38
|
My problem was how do you open an Access database. I didn't get a solution from the board, but I thought I'd share it with everyone. I'm sure there are others that would like this code.
Dim Acc As New Access.Application Dim strAcc As String strAcc = "complete pathname" With Acc .OpenCurrentDatabase(strAcc) .Visible = True .UserControl = True End With |
|
|
|
|
|
#2 |
|
BatCoder
Join Date: Mar 2002
Location: Turkey
Posts: 764
|
Menu VBA_Tools_Reference
Add MS Access Object Library. Thats it. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|