Hi! I found this really neat trick on ablebits.com to add conditional formatting to highlight the column and row that is currently active. It makes a nice easy visual on big spreadsheets, which is where I live. They have 2 version, one VBA, which erases formatting already there (no good) and one is with conditional formatting. The conditional formatting means you have to hit F9 every time you move to another cell, which is too cumbersome, but they provide code you can add to the worksheet to refresh at every move, which works awesome. I don't want to have to set up every worksheet I use though, as I'm constantly pulling new data files. I need a macro. I think I can so the conditional formatting part, and they provide the code of the worksheet itself, but I need to now how to write code that will put the code on the worksheet. Can that be done?
How to highlight active row and column in Excel
3 ways to dynamically highlight the row and/or column of a selected cell in Excel.
www.ablebits.com