Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP!! Highlight Range using string 1

Status
Not open for further replies.

01491

ISP
Oct 30, 2001
17
0
0
GB
I'm trying to highlight the range from ActiveCell to Activecell+(value in the activecell).

Doesn't like:

Range(ActiveCell:(ActiveCell.Offset(ActiveCell.Value,0)).select


Any help, much appreciated.
 
Does,

Range(ActiveCell,ActiveCell.Offset(ActiveCell.Value,0)).Select

Do it.

If you just want to highlight it, you may not need to selct it.

Range(ActiveCell,ActiveCell.Offset(ActiveCell.Value,0)).Interior.colorindex = 6

would apply a coloring to the range.

AC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top