import { getColumnPositionByName } from "./getColumnPositionByName" ; import { getOriginalColumnNames } from "./getOriginalColumnNames" ; import { getUneditableColumnNames } from "./getUneditableColumnNames" ; import { convertColumnPositionToLetter } from "./convertColumnPositionToLetter" ; export function highlightUneditableColumns ( sheet ) { getUneditableColumnNames ( ) . forEach ( ( name ) : void => { const letter = convertColumnPositionToLetter ( getColumnPositionByName ( name ) ) ; sheet . getRange ( `${ letter }:${ letter }` ) . setBackground ( "#b7b7b7" ) ; } ) ; }