LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 108
Default Trouble with Arrays

Im trying to drill down a list, coloring cells that do not match any of 13
strings stored in an array. I am sure I am not using the array correctly and
in turn am looking for some direction€¦

Appreciatively
Arturo

Sub FalgUnMatched()
Dim X As Integer
Dim ListRef As String

ListRef = Array("$B$4", "$I$28", "$K$3", "$M$3", "$N$3", "$O$3", "$P$3",
"$Q$3", "$E$4", "$E$5", "$E$6", "$E$8", "$E$9")
Range("E4").Select
For X = 4 To 8439
If ActiveCell.Value < UBound(ListRef) Then
ActiveCell.Interior.ColorIndex = 43
End If
ActiveCell.Offset(1, 0).Select
Next X
End Sub
 
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
Working with ranges in arrays... or an introduction to arrays Glen Excel Programming 5 September 10th 06 08:32 AM
Arrays - declaration, adding values to arrays and calculation Maxi[_2_] Excel Programming 1 August 17th 06 04:13 PM
Need help with arrays (I think) rbhedal Excel Programming 1 October 19th 05 12:41 PM
Trouble with Arrays / Collections John[_88_] Excel Programming 9 September 7th 05 04:03 PM
arrays solo_razor[_44_] Excel Programming 2 December 15th 03 12:06 PM


All times are GMT +1. The time now is 03:04 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"