resize pasted bitmap-picture

J

Jan Hendrickx

Hi all,

I have an ACCESS database with an embedded OLE-field containing a
bitmap-picture.
I already mannaged to copy and paste the picture from the database to a
word-document, but now i still need to resize it...

here is the code i use:

imgFoto.Action = acOLECopy
Set objWord = CreateObject("WORD.APPLICATION")
With objWord
.Documents.Add "D:\bitmap\bitmap.dot"
.Selection.GoTo What:=-1, Name:="bitmap"
.Selection.Paste
'here i should do the resize
.Visible = True
End With

Is this the way it should be done?
Anyone got an idea how to do the resize?

Jan Hendrickx.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top