7
Answers

Excel.Workbook.RefreshAll()

Photo of richard smith

richard smith

12y
4.5k
1
I am using this to refresh some queries in an Excel workbook, but sometimes there is an odbc error or an issue.  I know you can count for that in a try/catch block, but I do not want to do that because it will stop processing at the 1st error.  Is there a way to set the RefreshAll(); statement with parameters to ignore errors so all data is refreshed in the workbook?

Answers (7)