![]() |
#1
|
|||
|
|||
![]()
I wrote some VBA code that is not replacing my signature bookmark when I insert it into it.
The bookmark is a single word in the last row of a one column table. When I insert the signature image it appears alongside the bookmark rather than replace it (i.e. the bookmark is not deleted.) Below is my code. Ideas as to where I went wrong? Thanks in advance. Code:
If ActiveDocument.Bookmarks.Exists("Sig1") = True Then ActiveDocument.Bookmarks("Sig1").Range.InlineShapes.AddPicture FileName:="C\Sig1.png" Else ActiveDocument.Bookmarks("Sig2").Range.InlineShapes.AddPicture FileName:="C\Sig2.png" End If Image here Sig1 Instead of Image here ![]() |
Tags |
access 2010, bookmarks, vba code |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Losing image resolution when inserting image into MS word (2011: Mac) | Mario.N | Drawing and Graphics | 0 | 11-23-2014 02:38 AM |
![]() |
sscad27 | Word | 1 | 08-20-2014 12:46 PM |
Problem Inserting Image | rbonnell | PowerPoint | 1 | 07-22-2014 07:15 AM |
Inserting a particular image based on a combobox selection | LeonieD | PowerPoint | 2 | 06-27-2014 05:39 PM |
![]() |
Mijin | Word | 2 | 09-22-2011 03:14 AM |