ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,731
- Office Version
- 2007
- Platform
- Windows
Morning,
I always use active X controls but unable to get a code working with one.
If i use a shape then what i want to happens works.
My question is how do i go about taking code from Active X control & using it on a shape,or am i going to run into problems.
This works for me.
I always use active X controls but unable to get a code working with one.
If i use a shape then what i want to happens works.
My question is how do i go about taking code from Active X control & using it on a shape,or am i going to run into problems.
This works for me.
Rich (BB code):
Sub test()
With ThisWorkbook
With .sheets(.sheets.Count)
.Shapes("Rectangle 1").Visible = msoFalse
.Shapes("Rectangle 2").Visible = msoFalse
.Shapes("Rectangle 3").Visible = msoFalse
End With
End With
End Sub