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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieving Data From an Open Access Session (Excel 2003) 1

Status
Not open for further replies.

stephenj789

Technical User
Jan 28, 2002
58
US
I have both Excel and Access open (both 2003). Access has a form open. I would like an Excel macro to use values that are in the Access form. How could I go about doing that?
 
A starting point:
Dim acApp As Object
Set acApp = GetObject(, "Access.Application")
MsgBox acApp.Forms("name of form").Controls("name of control").Value

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top