+ 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
    O365
    Posts
    20,419

    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)

Similar Threads

  1. Change TextBox Border Color
    By ldoodle in forum Outlook Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2018, 02:45 PM
  2. Outside border change color
    By DanS52 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 09-14-2017, 12:55 PM
  3. [SOLVED] Click oval option button to fill/unfill color, also change border color to match fill
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-07-2015, 08:29 PM
  4. [SOLVED] Border color doesn't change.
    By Rusty in forum Excel General
    Replies: 3
    Last Post: 03-10-2006, 01:45 AM
  5. how to change form border color?
    By dpenny in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2006, 09:44 PM
  6. Change the border color used by Change Tracking
    By Jim Stoaks in forum Excel General
    Replies: 1
    Last Post: 01-20-2006, 05:40 PM
  7. Replies: 3
    Last Post: 11-02-2005, 07:55 PM

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