![]() |
|
|
|||||||
| 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: Apr 2003
Location: United KIngdom
Posts: 126
|
Does anyone know how i can open an access database from excel.
thanks, ishi |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Dec 2002
Location: Clear Lake, TX
Posts: 4,202
|
Define "open"...
|
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sunny, spring-like Hull
Posts: 3,339
|
Try this-
Code:
Public Sub OpenAccess() Dim appAccess As New Access.Application Set appAccess = Access.Application appAccess.OpenCurrentDatabase "C:\db1.mdb" End Sub |
|
|
|
|
|
#4 |
|
Join Date: Apr 2003
Location: United KIngdom
Posts: 126
|
Thanks mudface that's what i wanted but it opened it and disappeared. Had to put this line is appAccess.Visible = True to keep it open.
Tommygun i mean to launch an access database from a specific location. Then use the database as you would any access database. Thanks again guys, ishi |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|