Create grey shape behind text in header. VB6.0 Word 2003 RRS feed

  • Question

  • I can create the shape, fille it with grey and place it in the page header, but when I execute the following nothing happens.

    .Selection.ShapeRange.Zorder 5 ' placer firkant bagved tekst. Danish for "Place square behind text

    What do I do wrong?

    Tuesday, November 23, 2010 3:17 PM


  • Where is your shape anchored?

    Here, if I create the shape manually by clicking in the main document body, then dragging it to the header, the Zorder method does nothing. If I click in the header, and create the shape there, the method works as expected.

    Peter Jamieson
    • Marked as answer by Bessie Zhao Friday, December 3, 2010 11:05 AM
    Wednesday, November 24, 2010 9:34 AM