I am trying to assist in moving over to Google Sheets from Excel. The one concern is that we currently have some users who are affluent in Excel and are concerned that their macros where they assign keystroke combos will not be able to move with their workbooks.
I know that macros may be recorded with the Google Sheets, but I am hoping to make this move as painless as possible. It would be a WIN to allow them to use the combos they have grown to know and love.
For example; Ctrl + Shift + R will currently make text in a cell Bolded and Red. I am trying to understand how to best write this out in Script. I do have this so far...
function myFunction() {
var spreadsheet = SpreadsheetApp.getActive();
spreadsheet.getActiveRangeList().setFontWeight('bold')
.setFontColor('#ff0000');
};
Any suggestion to assigning the specific keys would be marvelous! I have looked at a couple articles but they were older and seemed to say that it couldn't be done and then made reference to the recording macros.