![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Posts: 95
|
A file has thin row height so I can view many rows on the screen. But sometimes I get mixed up reading different cells of either the above or below ones of the active row (because of small text size, too). If someone can help me script an visible feature VBA macro to colorize the row background in light green and bold type the text from columns A to D, that'd be greatly appreciated. But the row has to return to the normal property when the mouse moves to another cell with respect to the row.
Thank you. |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
Hey Tan
Do you have any prior format in that range ? I mean, do you have a background color for those cells ? same question for font... |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Posts: 95
|
Juan,
No I don't for now. Got my emails? T. |
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
Yes.
Try this: In the worksheet module
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Posts: 95
|
Juan,
I just sent you the file. It must be me; it doesn't work. tl |
|
|
|
|
|
#6 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
Where did you put it ? in a Standard Module ?
|
|
|
|
|
|
#7 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
Ok, it was in a Standar module, it should be in the Worksheet's module.
|
|
|
|
|
|
#8 |
|
Board Regular
Join Date: Feb 2002
Posts: 95
|
I put them in ThisWorkbook and also in Module1.
|
|
|
|
|
|
#9 |
|
Board Regular
Join Date: Feb 2002
Posts: 95
|
Juan,
It works very well for single cell selection except multiple cells selection (by found that out by accident). Sorry about the instruction. Now I learn that there are three types of VBA locations: worksheet(s), thisworkbook, and modules, let alone the Personal.xls. Thank you JP. T. |
|
|
|
|
|
#10 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi
I have a very simple example of this here: http://www.ozgrid.com/VBA/ExcelWorkbookEvents.htm Scroll to the bottom and look at: "Automatic Highlighting of Active Row" _________________ Kind Regards Dave Hawley OzGrid Business Applications Microsoft Excel/VBA Training ![]() [ This Message was edited by: Dave Hawley on 2002-03-23 19:33 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|