+ Reply to Thread
Results 1 to 2 of 2

Select shapes?

  1. #1
    Registered User
    Join Date
    11-02-2004
    Location
    Slovenia, LJ
    MS-Off Ver
    2007
    Posts
    40

    Select shapes?

    Hello,

    How should I on the most effective way select every second shape from 100 shapes (ie. lines). I can't find out the right code.

    Thank you

  2. #2
    Forum Contributor
    Join Date
    12-12-2005
    Posts
    667
    Sub test()
    For i = 1 To 5 Step 2
    a = ActiveSheet.Shapes(i).Name
    MsgBox a
    Next
    End Sub
    Best regards,

    Ray

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1