dbTalk Databases Forums  

Insert Signature into a Word Document

comp.databases.ms-access comp.databases.ms-access


Discuss Insert Signature into a Word Document in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Barry Edmund Wright
 
Posts: n/a

Default Insert Signature into a Word Document - 11-20-2010 , 01:21 PM






Hi All,

I open a word document and preform a search and replace using VBA in
MS Access everything works great.

However, now I want to put a signature into the Word document based on
a field I have in tblSignatures.strFullSignaturePath where
strFullSignaturePath is:
C:\Signatures\BarryWright.jpg

Two questions:
1) What kind of place holder do I use in the Word document to hold the
signature image?
2) How do I populate this "place holder" with C:\Signatures
\BarryWright.jpg using VBA?

All ideas are appreciated.

Thanks,
Barry

Reply With Quote
  #2  
Old   
Jon Lewis
 
Posts: n/a

Default Re: Insert Signature into a Word Document - 12-17-2010 , 12:35 PM






Try:

1. A bookmark e.g
YourWordApplication.Selection.GoTo wdGoToBookmark, Name:="Signature"

2 YourWordApplication.Selection.InlineShapes.AddPict ure FileName:= _
strFullSignaturePath, LinkToFile:=False, SaveWithDocument:= _
True
HTH

Jon

"Barry Edmund Wright" <barry.edmund.wright (AT) witstoronto (DOT) ca> wrote

Quote:
Hi All,

I open a word document and preform a search and replace using VBA in
MS Access everything works great.

However, now I want to put a signature into the Word document based on
a field I have in tblSignatures.strFullSignaturePath where
strFullSignaturePath is:
C:\Signatures\BarryWright.jpg

Two questions:
1) What kind of place holder do I use in the Word document to hold the
signature image?
2) How do I populate this "place holder" with C:\Signatures
\BarryWright.jpg using VBA?

All ideas are appreciated.

Thanks,
Barry

Reply With Quote
  #3  
Old   
a a r o n . k e m p f @gmail.com [MCITP: DBA]
 
Posts: n/a

Default Re: Insert Signature into a Word Document - 01-03-2011 , 06:03 AM



SQL Server Reporting Services can embed whatever you need.. and it exports to Word -beautifully-.

Using Access in the year 2010 is worse than pen and paper.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.