Only get non-filtered values for Google App Script getRange
问题 Is there a way to only get non-filtered values only in Google App Script? (i.e. get values that are showing and not hidden ones? For example, let’s say I have the following cells + values in Google Sheets. A1=abc B1=x A2=def B2=y A3=ghi B3=y A4=kjl B4=x And I filtered B column so it only displays [y]. A2=def B2=y A2=ghi B3=y When I use the following script, both hidden and non-hidden values gets printed to the msgBox. function msgBoxTest(){ var ss = SpreadsheetApp.getActiveSpreadsheet(); var