Results 1 to 2 of 2

Thread: Check shape order

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2005
    Posts
    91

    Check shape order

    I use word automation in my Vb6 appl.
    Is there a way to check the shapes order.
    I have in my word doc several shapes
    I want to place in my vbform several checkboxes to check or uncheck to put the selected word shape in front or to the back.
    I can set the shape in front or back like so

    VB Code:
    1. AppWord.activeDocument.Shapes(MyShape).ZOrder msoBringToFront

    But how can i check later again if the shape is on top or at the back?
    (I don't want to keep a seperate var)

  2. #2
    Lively Member New2vba's Avatar
    Join Date
    Sep 2005
    Location
    UK
    Posts
    95

    Re: Check shape order

    Try the ZOrderPosition property.
    "Those things we must learn to do, we must learn by doing" (or hope somebody else will take pity and help out )

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