Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 01-02-2020, 02:14 PM
macropod's Avatar
macropod macropod is offline Using VBA to find html img code, and insert images dynamically Windows 7 64bit Using VBA to find html img code, and insert images dynamically Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by noslenwerd View Post
Is there anyway to parlay alignment and text wrap into this?
Change:
.InlineShapes.AddPicture StrImg, False, True, .Duplicate
to:
ActiveDocument.Shapes.AddPicture StrImg, False, True, , , , , .Duplicate

Note that the empty arguments allow you to define the size & position - see the VBA help file for more details.
Quote:
Originally Posted by noslenwerd View Post
We need to source all of our images. So I would love to find a way to have the html below, pull in the image, and have a source link below it (where we found the image in the first place).

<img src="C:\test\logo.jpg" cap="http://linktothesource.com">
Delete:
.Text = vbNullString
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
html, img code



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using VBA to find html img code, and insert images dynamically Macro Help Swapping HTML Code pclark2 Word VBA 2 02-11-2019 03:25 PM
How to insert a straight table into PPT where the values are dynamically updated? Officer_Bierschnitt PowerPoint 1 01-14-2016 10:34 AM
Search and replace/insert HTML code into Master File using tags dave8555 Excel 2 02-23-2014 03:51 PM
Outlook Web Mail (OWA) - sending email removes html and images mvrk Outlook 0 07-30-2013 03:56 AM
Strange HTML code inside an e-mail Joostdegrote Outlook 0 09-13-2010 07:57 AM

Other Forums: Access Forums

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