Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-23-2019, 09:06 AM
bertelu bertelu is offline change forecolor all CMDbuttons Windows 10 change forecolor all CMDbuttons Office 2016
Novice
change forecolor all CMDbuttons
 
Join Date: Oct 2019
Posts: 3
bertelu is on a distinguished road
Default

hi all after a nigth spent i've found the solution

here the code

Private Sub change_font()
Dim pulsante As Shape
Dim sld As Slide
For Each sld In ActivePresentation.Slides
For Each pulsante In sld.Shapes
If pulsante.Name Like "CMD_*" Then
pulsante.OLEFormat.Object.ForeColor = &H400040
pulsante.OLEFormat.Object.BackColor = &HFFC0C0
End If
' pulsante.ForeColor = &H400040
Next pulsante
Next sld
End Sub
Reply With Quote
 

Tags
buttons, vba

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change and implement default theme font style change Nikko963 Word 5 05-04-2018 09:11 AM
change forecolor all CMDbuttons change formula based upon change of month invgrp2 Excel 7 05-03-2018 10:46 AM
Change computer's time, and all appointment times in Outlook's calendar change TimTDP Outlook 0 03-14-2017 06:56 AM
change forecolor all CMDbuttons How to change save location and file to print name change? albertc Excel Programming 1 05-13-2012 07:05 PM
change forecolor all CMDbuttons change the view to final, my change bars disappear. I need them visible anna.a.julin Word 1 03-01-2012 08:05 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:23 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft