![]() |
Keyboard Shortcut - Highlight the Current Row in Excel - Printable Version +- Cedeq Community Forum (https://cedeq.com/forums) +-- Forum: General (https://cedeq.com/forums/forumdisplay.php?fid=1) +--- Forum: Keyboard shortcuts with AutoHotkey code (https://cedeq.com/forums/forumdisplay.php?fid=4) +--- Thread: Keyboard Shortcut - Highlight the Current Row in Excel (/showthread.php?tid=37) |
Keyboard Shortcut - Highlight the Current Row in Excel - denilama - 04-12-2018 A keyboard shortcut to quickly highlight a row in Excel (change its background color to yellow, for instance) will certainly be appreciated by someone having to analyze plenty of data. The following AutoHotkey script allows you to do exactly this. Also, if the row is already highlighted, the same keyboard shortcut will simply remove the highlight. This shortcut works with any worksheet; no Excel add-in required. Need help creating a keyboard shortcut with ShortKeeper using the following AutoHotkey code? This 5-minute tutorial will help! Critical The script will highlight the row (or remove the highlight) if the Excel worksheet is the active window and is not busy (e.g. editing, selecting a command). The number 6 in line #2 sets the color of the highlight to yellow. A decimal number from 0 to 56 allows for different color options. The following list includes some common color choices:
This script is optimized to be used with ShortKeeper. As such, there is no exception handling, no “Return” at the end, and variable(s) don’t need to be cleared. ShortKeeper does all of this automatically. Just copy/paste the code in the PARAM field in ShortKeeper, set your hotkey, save, and you’re ready to use your new keyboard shortcut. RE: Keyboard Shortcut - Highlight the Current Row in Excel - HunterBryan - 07-11-2022 If you want to insert a new sheet into the book, use this key combination Shift + F11. When you enter this shortcut, the new sheet is inserted into the current book. To add additional sheets, press and hold the Shift key, press F11 and release both keys. If you want to sum data in rows and columns, use the key combination to insert the Excel SUM function into your worksheet. Key combination to enter the SUM function: Alt + = (equal sign). This is how the keyboard shortcut will be adapted. Or easier - see https://blog.coupler.io/data-transformation-techniques/ adapt keyboard values. |