Hi,
i want to refresh specific workbook query based on its name:
but it is failing. How can i do this?![]()
Sub RefreshAllOutputQueries() Dim wbQr As WorkbookQuery For Each wbQr In ThisWorkbook.Queries If wbQr.Name Like "*Out" Then wbQr.Refresh False End If Next wbQr End Sub
Best,
Jacek
Bookmarks