Results 1 to 2 of 2

Thread: Send a Picture to MS Word ??

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2001
    Posts
    95

    Send a Picture to MS Word ??

    I found the following code which is very helpful. However, I want to place the picture in a designated area. I don't know how to specify at what location the picture is to be inserted. Anyone know how

    '@@@@@@@@@@@@

    Dim wrd As Object
    Dim wrd1 As Object
    Dim qaZ As Object


    Set wrd = CreateObject("word.document")
    wrd.Application.Visible = True
    Set wrd1 = GetObject(, "Word.Application")
    wrd1.documents.Add
    wrd1.Visible = True
    Set qaZ = wrd1.Activedocument
    qaZ.shapes.addpicture = "c:\test.jpg"

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    You would get more help if this was posted in the General VB forum. Sorry, I can't really help you with this one, only that tip .
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

Posting Permissions

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



Click Here to Expand Forum to Full Width