Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default select offset (variable ,1) to offset(variable ,variable)

how do i
in excel vba - i have a routine that loops through a sheet, and
highlights a single offending cell..

ActiveCell.Offset(i, C).Interior.ColorIndex = 7

i want to highlight the row, one colour and the single another colour

select offset (variable ,1) to offset(variable ,variable)?


er?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default select offset (variable ,1) to offset(variable ,variable)

Do you mean

ActiveCell.Offset(i, C).Resize(,variable).Interior.ColorIndex = 7


--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Buffyslay" wrote in message
oups.com...
how do i
in excel vba - i have a routine that loops through a sheet, and
highlights a single offending cell..

ActiveCell.Offset(i, C).Interior.ColorIndex = 7

i want to highlight the row, one colour and the single another colour

select offset (variable ,1) to offset(variable ,variable)?


er?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLookup Variable Offset Glenda Excel Discussion (Misc queries) 1 April 7th 10 02:01 PM
Variable worksheet name in offset Dave T Excel Worksheet Functions 2 January 25th 07 07:41 PM
Offset with variable? John Excel Programming 3 June 30th 06 08:30 PM
Offset with variable? John Excel Programming 1 June 30th 06 08:11 PM
Offset with variable James Excel Programming 2 August 16th 05 08:27 PM


All times are GMT +1. The time now is 01:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"