I have a workbook with multiple sheets, and each sheet has the same set of named ranges (IE they are scoped to the sheet, not workbook).
I want to query based on a n
Below query would work. Just make sure the named range Ingredients exist in sheet With Space. Also save the workbook.
strQuery = "Select * from [With Spaces$Ingredients]"
Alternatively you can use below
strQuery = "Select * from [With" & Chr(32) & "Spaces$Ingredients]"