I have a query in Access that returns the results that i need..however i now need to show this data in Excel.
Can anyone briefly explain (sample code even), how i can launch this query through a button in Excel.
Data>get external data>new database query...select msaccess database from the left tab,...follow the wizard, or select the use MS query option(a scaled down gui similar to access),...carefully select options you want on each window,...such as "read only" check boxes and what not...
then return data to ms excel.
when the data is returned, you can right click in the data area and set properties such as refresh on open
now when ever the database is updated the workbook will reflect the changes.(if you refresh...auto or manually)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.