ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Refreshing query data via vba button (https://www.excelbanter.com/excel-programming/438670-refreshing-query-data-via-vba-button.html)

rzaxl

Refreshing query data via vba button
 
I have a wookbook which has 5 worksheets that contains sql query's that are
bulling data from an access 2003 db, instead of me right clicking on each
worksheet to refresh the data, is there any vba code that i can import that
will enable the user to refresh the worksheet via a single button, been
racking my brain, could someone help me please.............!!!!!!!!!!!!!!!!!
--
RzaXL

Mike Fogleman[_2_]

Refreshing query data via vba button
 
ThisWorkbook.RefreshAll

MIke F
"rzaxl" wrote in message
...
I have a wookbook which has 5 worksheets that contains sql query's that are
bulling data from an access 2003 db, instead of me right clicking on each
worksheet to refresh the data, is there any vba code that i can import
that
will enable the user to refresh the worksheet via a single button, been
racking my brain, could someone help me
please.............!!!!!!!!!!!!!!!!!
--
RzaXL




rzaxl

Refreshing query data via vba button
 
thanks
--
RzaXL


"Mike Fogleman" wrote:

ThisWorkbook.RefreshAll

MIke F
"rzaxl" wrote in message
...
I have a wookbook which has 5 worksheets that contains sql query's that are
bulling data from an access 2003 db, instead of me right clicking on each
worksheet to refresh the data, is there any vba code that i can import
that
will enable the user to refresh the worksheet via a single button, been
racking my brain, could someone help me
please.............!!!!!!!!!!!!!!!!!
--
RzaXL



.



All times are GMT +1. The time now is 07:16 PM.

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