Hopefully, this is a sensible request/question;
Currently have a MS Excel 2007 workbook with over 20 worksheets. On 12 of the worksheets, I have vlookup formulae from row 2 down to row 3000 and/or data tables that extract data from sql server. On 4 of the worksheets, there are pivot tables that are based on the data within the Oracle or sql server data worksheets. Also, have vba code behind 3 sheets (with dynamic range names) to automatically extract data from a Oracle database.
Currently, I access each worksheet and perform a manual refresh to update the data.
Questions:
1. Using Excel vba, is it possible and/or feasible to perform refresh and vlookup on multiple worksheets once per day and then maybe "turn the refresh and vlookups off" and then the following day, perform the refresh and vlookups and then turn off and so on and so on?
2. Can anyone provide code snippets that will assist?
Just trying to manage a increasingly tedious process that may result in a large bloated worksheet and appreciate any insight.
Current thoughts include the use of a form that will display all of the worksheets and allow me to refresh specific worksheets and display the date/time that the worksheet was last refreshed.??
Note, per Supervisor, obtaining a solution using MS Access is not an option...
Currently have a MS Excel 2007 workbook with over 20 worksheets. On 12 of the worksheets, I have vlookup formulae from row 2 down to row 3000 and/or data tables that extract data from sql server. On 4 of the worksheets, there are pivot tables that are based on the data within the Oracle or sql server data worksheets. Also, have vba code behind 3 sheets (with dynamic range names) to automatically extract data from a Oracle database.
Currently, I access each worksheet and perform a manual refresh to update the data.
Questions:
1. Using Excel vba, is it possible and/or feasible to perform refresh and vlookup on multiple worksheets once per day and then maybe "turn the refresh and vlookups off" and then the following day, perform the refresh and vlookups and then turn off and so on and so on?
2. Can anyone provide code snippets that will assist?
Just trying to manage a increasingly tedious process that may result in a large bloated worksheet and appreciate any insight.
Current thoughts include the use of a form that will display all of the worksheets and allow me to refresh specific worksheets and display the date/time that the worksheet was last refreshed.??
Note, per Supervisor, obtaining a solution using MS Access is not an option...