Results 1 to 3 of 3

Thread: [resolved]office2002 vs office2003

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2006
    Posts
    34

    Resolved [resolved]office2002 vs office2003

    Hi
    I have a strange problem that I can't resolve it, so that's why after googling around I landed at this page that I think is efficient enough for such kind of problems:
    I have the following macro which is acting differently in office 2002 and office 2003. Here is the macro:

    Sub insertAnImage()
    Dim pic As Shape
    Set pic = ActiveDocument.Shapes.AddPicture(Anchor:=Selection.Range, FileName:= _
    "I:\vb\aPic.jpg")

    With pic.WrapFormat
    .AllowOverlap = True
    .Type = 3 'wdWrapnone
    End With

    End Sub

    in Word 2002:
    when i position the cursor in the beginnig of a line and run this macro, the image will be inserted behind the text, that is what I intended to do!
    in Word 2003:
    doing the same thing here the image will be inserted on the text, so the text stays behind the image!!!
    I really don't know from where it comes, is it a bug of office 2003, or is there any configuration to be made??? I hope you guys can help.
    Last edited by Hack; Apr 20th, 2006 at 08:16 AM. Reason: Added green "resolved" checkmark

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