I've tried so many variations on this code and still getting an error: "Object doesn't support this property or method."
I just want to refresh a query table on a worksheet. The names of the sheet and table are accurate so what am I missing?
VBA Code:
Sheets("Acknowledgements").ListObject("tblNotAckPrepped_2").QueryTable.Refresh BackgroundQuery:=False
I just want to refresh a query table on a worksheet. The names of the sheet and table are accurate so what am I missing?