Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 01-17-2016, 12:30 AM
JohnWilson JohnWilson is offline object variable set or not??? Challenging \ Perplexing Windows 7 64bit object variable set or not??? Challenging \ Perplexing 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

"For some reason (perhaps a bug) after fill is set to user picture vba can't change the fill to rgb."

It's not a bug and vba can change it to RGB you just need to understand how it works

Your code has changed the fill type to userpicture you need to reset it to "Solid" by adding something like

ActivePresentation.Slides(2).Shapes("pic" & i).Fill.Solid
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Object Variable or With block variable not set Raza Excel Programming 8 01-15-2015 12:19 AM
Run Time Error '91': Object variable or With block variable not set using Catalogue Mailmerge Berryblue Mail Merge 1 11-13-2014 05:36 PM
object variable set or not??? Challenging \ Perplexing Run-time error 91 object variable or with block variable not set JUST ME Word VBA 4 03-25-2014 06:56 AM
object variable set or not??? Challenging \ Perplexing object variable or with block variable not set MJP143 Excel 1 02-11-2013 05:07 AM
object variable set or not??? Challenging \ Perplexing Run-time error '91': Object variable or With block variable not set tinfanide Excel Programming 2 06-10-2012 10:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:37 PM.


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