ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Opening an ACCESS db from the VBE in EXCEL (https://www.excelbanter.com/excel-programming/387590-opening-access-db-vbe-excel.html)

Doctorjones_md

Opening an ACCESS db from the VBE in EXCEL
 
What is the VBA code for opening an existing ACCESS database from the VBE ?
I can't find any specific reference to this when I google it.

Thanks in advance for any assistance.



merjet

Opening an ACCESS db from the VBE in EXCEL
 
http://www.erlandsendata.no/english/...php?t=envbadac

Hth,
Merjet



Jim Jackson

Opening an ACCESS db from the VBE in EXCEL
 
ActiveWorkbook.FollowHyperlink Address:="C:\MyFolder\ _
MyDatabase.mdb", _
NewWindow:=True
--
Best wishes,

Jim


"Doctorjones_md" wrote:

What is the VBA code for opening an existing ACCESS database from the VBE ?
I can't find any specific reference to this when I google it.

Thanks in advance for any assistance.




Doctorjones_md

Opening an ACCESS db from the VBE in EXCEL
 
Many Thanks Jim -- your code worked BRILLANTLY! :)

Shane
"Jim Jackson" wrote in message
...
ActiveWorkbook.FollowHyperlink Address:="C:\MyFolder\ _
MyDatabase.mdb", _
NewWindow:=True
--
Best wishes,

Jim


"Doctorjones_md" wrote:

What is the VBA code for opening an existing ACCESS database from the VBE
?
I can't find any specific reference to this when I google it.

Thanks in advance for any assistance.






doctorjones_md[_2_]

Opening an ACCESS db from the VBE in EXCEL
 
I ended up using this code -- can't find the exact thread (or recall who
offered it), but it works GREAT!

ActiveWorkbook.FollowHyperlink Address:="\\Fileserver\Products.mdb", _
NewWindow:=True

Shane
==================================
"merjet" wrote in message
ups.com...
http://www.erlandsendata.no/english/...php?t=envbadac

Hth,
Merjet






All times are GMT +1. The time now is 05:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com