Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-16-2016, 10:36 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

Try:


If xlPath Is Nothing Then


Else

End If
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #2  
Old 01-16-2016, 05:28 PM
zcu zcu is offline object variable set or not??? Challenging \ Perplexing Windows 8 object variable set or not??? Challenging \ Perplexing Office 2010 64bit
Novice
object variable set or not??? Challenging \ Perplexing
 
Join Date: Jan 2016
Posts: 2
zcu is on a distinguished road
Default

Thanks for thinking about it.

After i posted i did troubleshooting for an hour and figured it out.

For some reason (perhaps a bug) after fill is set to user picture vba can't change the fill to rgb. So i just used a white picture instead and it worked.
Reply With Quote
Reply



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:38 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