Rock YouTube channel with real views, likes and subscribers
Get Free YouTube Subscribers, Views and Likes

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

Follow
xlpedia

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. Nonprofit, 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. Nonprofit, educational, or personal use tips the balance in favor of fair use."

#HighlightActiveRows&Columns #GoogleSheets #HighlightRows #HighlightActiveRows

posted by encrespatf