I am sorry this is such a basic question I am fairly new to Eviews (version

. I am trying to read in many Excel worksheets and the number of columns with data will vary from month to month. For some sheets I can specify no range but others I have to specify the range. Can someone explain why in the attached example the sheet HI can read in without any range defined but the sheet dummies cannot (gives the error no valid series)? It seems random to me which ones need a range and which do not and it is driving me nuts (for example the OTH sheet also needs the range)! In the attached code the commented out line reads the data in fine, but the code in the loop does not - yet it is fine for the HI sheet.
Thanks in advance!
CODE:
' read in the data test
wfopen(page=OTH) "BBREADIN.xlsm" range= "OTH!a1:ce87" colhead = 11 namepos = first
'pageload(page=dummies) "BBREADIN.xlsm" range="dummies!a1:ca87" colhead=11 namepos = first
for %i HI DUMMIES
pageload(page={%i}) "BBREADIN.xlsm" range={%i} colhead=11 namepos=first
next