mcomp72
Active Member
- Joined
- Aug 14, 2016
- Messages
- 275
- Office Version
- 365
- 2019
- 2016
- 2011
- Platform
- Windows
- MacOS
On several of the sheets in my workbook, I have code that runs inside the Worksheet_SelectionChange sub. This is because I want the font color in column A to change based on what row the active cell is on. (If they active cell is in row 30, the font color in "A30" should change to red.)
Unfortunately, due to this code running every time the user selects a new cell, the clipboard is also cleared, so the user cannot do a copy/paste on the sheets. They can select Copy (or Ctrl-C), but once they move to the cell where they want to paste, the marching ants disappear and the clipboard seems to be cleared. Is there any work-around for this? I would like my users to still be able to copy & paste, but so far the only way I can see to do this is to remove the sub Worksheet_SelectionChange.
Unfortunately, due to this code running every time the user selects a new cell, the clipboard is also cleared, so the user cannot do a copy/paste on the sheets. They can select Copy (or Ctrl-C), but once they move to the cell where they want to paste, the marching ants disappear and the clipboard seems to be cleared. Is there any work-around for this? I would like my users to still be able to copy & paste, but so far the only way I can see to do this is to remove the sub Worksheet_SelectionChange.