+ Reply to Thread
Results 1 to 3 of 3

Replace Text in Word Document with Image?

  1. #1
    Registered User
    Join Date
    11-09-2010
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    21

    Replace Text in Word Document with Image?

    Is it possible to substitute text for an image?

    I can find the text i want using "With wordDoc.Content.Find", and can replace with different text but how do I replace with an image?

    I have been trying to incorporate "wordApp.Selection.InlineShapes.AddPicture" but haven't been able to reconcile the two code snippets.

    Please Login or Register  to view this content.
    Last edited by nickypatterson; 02-01-2011 at 05:07 AM.

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,647

    Re: Replace Text in Word Document with Image?

    Please Login or Register  to view this content.
    Last edited by snb; 01-27-2011 at 01:13 PM.



  3. #3
    Registered User
    Join Date
    11-09-2010
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Replace Text in Word Document with Image?

    Thank you, adapting this has worked perfectly.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1