Gurus,
below code sometime cannot extract data from the workbook because of sheet name letter case change eg from flt to FLT. Is there a way for me to set up different conditions so that I can at least make the extracting process more automatic?
below code sometime cannot extract data from the workbook because of sheet name letter case change eg from flt to FLT. Is there a way for me to set up different conditions so that I can at least make the extracting process more automatic?
VBA Code:
ActiveWorkbook.queries.Add Name:=queryname, Formula:= _
"let Source = Excel.Workbook(File.Contents(""" & getpath_vol & """), null, true), FLT_Sheet = Source{[Item=""FLT"",Kind=""Sheet""]}[Data]" & "in" & " FLT_Sheet"