skull_eagle
Board Regular
- Joined
- Mar 25, 2011
- Messages
- 89
Hi,
I'm trying to click a button on Sheet1 through my code.
The below is not working.
Thank you
I'm trying to click a button on Sheet1 through my code.
The below is not working.
Thank you
VBA Code:
Dim ActiveShape As Shape
Dim i As Integer
i = Worksheets("Admin").Cells(2, 2).Value
ActiveShape = Worksheets("Sheet1").Shapes("CB_" & i)
Application.Run ActiveShape.OnAction