![]() |
|
#6
|
|||
|
|||
|
maxInCO, macropod is talking about something like this:
Code:
Sub UpdateBM2(strBM As String, strImageName As String)
Dim r As Range
Set r = ActiveDocument.Bookmarks(strBM).Range
r.InlineShapes.AddPicture FileName:=strImageName, LinkTofile:=False
ActiveDocument.Bookmarks.Add Name:=strBM, Range:=r
End Sub
Sub InsertTheSignature()
Call UpdateBM2("SignatureHere", "c:\TestDocs\Signature1.jpg")
End Sub
The second procedure (InsertTheSignature) calls the insertion procedure with the variable of the image file. Needless to say it would also be possible to have a process to get the file name by user input, or a list of signature that you can select. You can of course change the parameters like LinkToFile, SaveWithDocument of AddPicture. And, as macropod mentions you can use the converttoshape method to apply text-wrapping |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Narrow Paragraph to Wide Paragraph HELP
|
icloudy | Word | 1 | 12-09-2012 03:49 PM |
x,y,z coordinates with single space "need tab"
|
gsrikanth | Excel | 1 | 07-07-2012 08:16 AM |
| calculate age | userman | Excel | 8 | 06-02-2012 10:59 PM |
DOCVARIABLE copy paste special
|
cyndor | Word | 2 | 04-06-2012 03:57 AM |
[Word 2007] How to hyperlink directly another word file chapter/paragraph/bookmark?
|
LeeFX | Word | 4 | 05-05-2011 05:53 PM |