Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
the reason is the procedure only applys to active sheet
so u may make a loop to walk through Private Sub CommandButton1_Click() Dim myObj As OLEObject For Each myObj In ActiveWorkbook.ActiveSheet.OLEObjects Debug.Print myObj.Name If Len(myObj.Name) 8 Then If Left(myObj.Name, 8) = "CheckBox" Then myObj.Left = 50 End if End If Next End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pls tell me how in hell am I to ask a technical question in 4 wor | New Users to Excel | |||
Hyperlink hell | Excel Discussion (Misc queries) | |||
checkbox hell | Excel Programming | |||
ComboBox Hell!!! | Excel Programming | |||
Excel ADO.Net Hell :S | Excel Programming |