![]() |
#2
|
|||
|
|||
![]()
Command Buttons are not Shapes and in this case you need to change the backcolor
Sub changeme() Dim octrl As Object 'change slide number and name to suit Set octrl = ActivePresentation.Slides(1).Shapes("CommandButton 1").OLEFormat.Object octrl.BackColor = &HFF End Sub If you explain exactly what you are trying achieve there may be a better method |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
CYFire | Excel Programming | 1 | 12-13-2015 05:31 AM |
![]() |
cromano | Word VBA | 7 | 06-13-2014 07:40 AM |
![]() |
aqhibjaveed | Word VBA | 1 | 03-25-2013 11:22 PM |
![]() |
Redbarn | Word VBA | 1 | 03-16-2013 02:03 PM |
color change for same shape | ajkiran | PowerPoint | 1 | 11-10-2012 07:41 AM |