Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() This code runs thru but i am not getting the desired affect, Visible false for the condition. Dim obj As OLEObject Dim i as Long For Each obj In Worksheets("sheet2").OLEObjects If TypeOf obj.Object Is MSForms.TextBox Then With Worksheets("sheet2") For i = 1 To 50 .OLEObjects("TextBox" & i).Visible = _ .Range("A" & 10 + 1).Interior.ColorIndex = 3 Next i End With End If Next Any help is appreciated -- Rick_Stanic I am m ----------------------------------------------------------------------- Rick_Stanich's Profile: http://www.excelforum.com/member.php...fo&userid=2895 View this thread: http://www.excelforum.com/showthread.php?threadid=51705 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Advancing outer Loop Based on criteria of inner loop | Excel Programming | |||
Loop Function unable to loop | Excel Programming | |||
Problem adding charts using Do-Loop Until loop | Excel Programming | |||
How do I create a For loop within a For loop? | Excel Programming | |||
HELP!!!! Can't stop a loop (NOT an infinite loop) | Excel Programming |