+ Reply to Thread
Results 1 to 3 of 3

Change border color of grouped element

  1. #1
    Registered User
    Join Date
    03-02-2016
    Location
    Netherlands
    MS-Off Ver
    2013
    Posts
    15

    Change border color of grouped element

    Hi all,

    I've written a macro which changes the border color of a shape in Powerpoint (toggling between pre-defined colors).

    Now, this works fine, however, when a shape is grouped, the macro won't change the color of the shape (it will only change to black once (because of the ELSE statement) ).
    Ideally, it would change color of the borders of all members/shapes in the group.
    Ideally, one would select the group, and run the macro, and the outer shape changes the border color (Also see attached dummy powerpoint).


    Does any of you know how to re-write the below to suit this?

    Please Login or Register  to view this content.

    Thanks in advance!
    A.
    Attached Files Attached Files
    Last edited by Arnodekkers1995; 10-09-2018 at 09:37 AM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003, 2007, 2010 & 2013
    Posts
    18,391

    Re: Change border color of grouped element

    You need to handle groupItems if applicable.

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    03-02-2016
    Location
    Netherlands
    MS-Off Ver
    2013
    Posts
    15

    Re: Change border color of grouped element

    Thanks! That was the solution!

    Only adapted the groupindex it's changing it's color from.
    Working perfectly now!

+ 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