#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Posts
    2
    Rep Power
    0

    Question Report with Word


    Hi I want to set a random picture into a word template, I can get the picture into the template but it doesn't set where I want it to. It causes the rest of the template to move down the page and picture and doesn't set where I need it to set. here is the code we have:
    ActiveDocumtent.shapes.AddPicture App.path & "\images\" & rs.fields("fldPicture"),,,100,150

    Help please
    I'm using word 2000
    Last edited by Alex2003; February 21st, 2003 at 12:51 PM.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Location
    Dublin
    Posts
    413
    Rep Power
    14
    Have you tried setting the wrap format to none?
    ie:
    Code:
    with ActiveDocument.Shapes.AddPicture(App.path & "\images\" & rs.fields("fldPicture"),,,100,150)
      let .WrapFormat.Type=wdWrapNone
    end with
    What word version are you using?

IMN logo majestic logo threadwatch logo seochat tools logo