Hi.
I need that when the cell is selected, if no bold font, then you will be in bold.
if the cell is selected, has a bold font, so will NOT be in bold.
![]()
Please Login or Register to view this content.
Hi.
I need that when the cell is selected, if no bold font, then you will be in bold.
if the cell is selected, has a bold font, so will NOT be in bold.
![]()
Please Login or Register to view this content.
"No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.
If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.
Something like?
![]()
Please Login or Register to view this content.
If you like my contribution click the star icon!
Hi.
Can I ask one more question?
how do I use this your code, so automatically?
Thank you!!!
You can place this code in a worksheet_change event if you want.
hi.
Yes!!
Thnks
Hi.
any tips on how to do this so automatically?
YES!!You can place this code in a worksheet_change event if you want.
Thank you!
Hi.
this code does what I need it to do.
But I need only the interval that follows the code below![]()
Please Login or Register to view this content.
then the code should only go in column "A" to column "AD"
![]()
Please Login or Register to view this content.
Your original solution does:
1. for each cursor movement on the worksheet
2. set the bold property to FALSE for ALL cells on the worksheet (irrespective of which cell is selected)
3. set the bold property to TRUE for the entire row of the selected cell
What I gave you was to switch the bold property ON when it was current OFF, and OFF when it was ON for a selected row. This is what you asked for in your first post.
If you want your original solution, but only want to apply the bold property from A to AD then use the following code:
![]()
Please Login or Register to view this content.
Hi.
appeared the following error:
Run-time error '1004 ':
Method 'Range' of object '_Worsheet' failed
Change
to![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Try this
![]()
Please Login or Register to view this content.
Hi
soved by OllieB
thank you all!!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks