How to Highlight Active Rows and Columns in Google Sheets | Apps Script

Published: 26 November 2022
on channel: xlpedia
7,249
61

Learn how to highlight active rows and columns in google sheets using apps script.

Please subscribe to our channel ‪@xlpedia‬

You can copy the script from here........
_______________________________________________________________________________________________
function onSelectionChange()
{
var range = SpreadsheetApp.getActiveRange();
var sheet = range.getSheet();
var rows = sheet.getMaxRows();
var columns = sheet.getMaxColumns();
sheet.getRange(1,1,rows,columns).setBackground(null);
sheet.getRange(1,range.getColumn(),rows,range.getNumColumns()).setBackground("yellow");
sheet.getRange(range.getRow(),1,range.getNumRows(),columns).setBackground("yellow");
}
_______________________________________________________________________________________________
Facebook   / xlpedia  
Instagram   / xlpedia1  

Copyright Disclaimer:
This video may contain some copyrighted materials without specific authorization of the owner but contents used here fall under the "Fair Use" as described in The Copyright Act 2000 Law No. 28 of the year 2000 of Bangladesh under Chapter 6, Section 36, and Chapter 13 Section 72. According to that law, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statutes that might otherwise be infringing. Non-profit, educational, or personal use tips the balance in favor of fair use. "Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for fair use for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statutes that might otherwise be infringing. Non-profit, educational, or personal use tips the balance in favor of fair use."

#HighlightActiveRows&Columns #GoogleSheets #HighlightRows #HighlightActiveRows

Tags: Highlight active rows and columns in Google Sheets, Google Sheets tutorial, Google Sheets tips, how to highlight active cells in Google Sheets, conditional formatting in Google Sheets, Google Sheets tricks, Google Sheets for beginners, Excel vs Google Sheets, Google Sheets 2024, interactive Google Sheets features, Google Sheets guide, Google Sheets formatting, data visualization in Google Sheets, Google Sheets how to, highlight active cells, spreadsheet tips and tricks, Excel and Google Sheets comparison, Google Sheets data management, active row and column highlight.


Watch video How to Highlight Active Rows and Columns in Google Sheets | Apps Script online without registration, duration hours minute second in high quality. This video was added by user xlpedia 26 November 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,249 once and liked it 61 people.