Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 12-30-2015, 01:40 PM
tanzinim tanzinim is offline ord vba replace the variable text with variable images to make offer products with images Windows 7 64bit ord vba replace the variable text with variable images to make offer products with images Office 2007
Novice
ord vba replace the variable text with variable images to make offer products with images
 
Join Date: Dec 2015
Posts: 3
tanzinim is on a distinguished road
Default

Gmaxey thank you very much I worked around and finally I solved thanks to your help ....


Quote:
Originally Posted by gmaxey View Post
Use an error handler:

Code:
oRng.MoveEnd wdWord, 1
On Error Resume Next
Selection.InlineShapes.AddPicture FileName:=PixPathandName & Trim(oRng.Text) & ".JPG", LinkToFile:=False, SaveWithDocument:=True
Reply With Quote
 

Tags
images, text



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
ord vba replace the variable text with variable images to make offer products with images Run-time error 91 object variable or with block variable not set JUST ME Word VBA 4 03-25-2014 06:56 AM
ord vba replace the variable text with variable images to make offer products with images object variable or with block variable not set MJP143 Excel 1 02-11-2013 05:07 AM
ord vba replace the variable text with variable images to make offer products with images 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 08:04 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