hungledink
Board Regular
- Joined
- Feb 20, 2012
- Messages
- 88
- Office Version
- 365
I have a sheet with data in range a1 to a6 of usernames. Then in range b1 to z1 I have data relating the users. This is currently a test workbook that I'm working out the code for a much larger workbook.
I've created a selection change event macro which changes the font to bold and colour to red for any cell in range a1 to a6 depending on if another cell in that row is selected. The code then changes the font and colour back to normal when a cell in another row is selected.
So for example, select cell b1 causes cell a1 text to be bold and colour red. Then select cell c2, a1 would no longer be bold or red, but cell c1 would be.
This works as I want but it means I can no longer copy and paste any of the data from b1 to z1.
Is there a way to get round this?
I've created a selection change event macro which changes the font to bold and colour to red for any cell in range a1 to a6 depending on if another cell in that row is selected. The code then changes the font and colour back to normal when a cell in another row is selected.
So for example, select cell b1 causes cell a1 text to be bold and colour red. Then select cell c2, a1 would no longer be bold or red, but cell c1 would be.
This works as I want but it means I can no longer copy and paste any of the data from b1 to z1.
Is there a way to get round this?