Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 02-13-2016, 09:17 AM
JohnWilson JohnWilson is offline Replacing backgrounds Windows 7 64bit Replacing backgrounds Office 2010 32bit
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,914
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

This code should add a black background

Code:
Sub blackBack()
Dim osld As Slide
For Each osld In ActivePresentation.Slides
osld.FollowMasterBackground = False
osld.Background.Fill.Solid
osld.Background.Fill.ForeColor.RGB = vbBlack
Next osld
End Sub
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Replacing backgrounds Colour code mail merge header table cell backgrounds ScotsMaverick Mail Merge 25 11-04-2021 02:07 PM
Replacing backgrounds Convert a word document in an empty one with backgrounds Esgrimidor Word VBA 11 12-03-2012 03:44 PM
How to "print" backgrounds to PDF randy.pare Drawing and Graphics 0 12-09-2010 12:05 PM
Replacing backgrounds Code for Changing Cell Backgrounds leroytrolley Excel 2 12-05-2008 02:05 AM
Replacing backgrounds Question concerning Backgrounds and fading. NYCorBUST PowerPoint 2 12-29-2005 09:05 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:08 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