Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open Access from Excel 2

Status
Not open for further replies.

stephenj789

Technical User
Jan 28, 2002
58
US
How can I open a table in an Access 2000 database from Excel 2000? I would like to create a macro for this and assign it to a button. Thank you.
 
menu Data -> External data -> Create a query

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
I worded it incorrectly. What I would like to do is open up the application (Access, with a particular database) and a certain table or form within the database (if possible).
 


What exactly are you attempting to accomplsh beyong opening Access? Get data from Access into Excel?

Skip,

[glasses] [red]A palindrome gone wrong?[/red]
A man, a plan, a ROOT canal...
PULLEMALL![tongue]
 
The Excel file is only log for various database changes. One of the databases is an Access database and I want the user to be able to go to that database by clicking a button.
 
Something like this ?
CreateObject("WScript.Shell").Run Chr(34) & "\path\to\the database.mdb" & Chr(34), 3

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top