![]() |
![]() |
|
|||||||
| 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 |
|
New Member
Join Date: Apr 2002
Location: Bolton, Lancs
Posts: 39
|
Help,
I have a list of data and would like to select the bottom 500 lines of the data using VBA and hightlight them in red. The number of lines is not static and could be between 1500 and 2000 rows and 5 columns wide Thanks Dave |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
Quote:
red; Sub Tester() 'Color last 500 Red Range([A65536].End(xlUp), [A65536].End(xlUp).Offset(-499, 0)).Interior.ColorIndex = 3 End Sub |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|