Try this:
function f_showMgrTabs() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var source = ss.getSheetByName('Noah');
var lr = source.getLastRow();
var show = source.getRange(1,1,lr,1).getValues();
var sheets = ss.getSheetName();
var tabs = SpreadsheetApp.getActiveSpreadsheet().getSheets();
var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
var mgrTabs = show.forEach(function(value){
Logger.log(value);
ss.getSheetByName(value).showSheet();
});
--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/6e17a182-7642-473a-bfb4-98dd34404ddbn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/001501d77066%249fd3ec40%24df7bc4c0%24%40gmail.com.