Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 443843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T21:12:40+00:00 2026-05-12T21:12:40+00:00

So I have this global mapping scheme, and each country on it are individual

  • 0

So I have this global mapping scheme, and each country on it are individual shapes. I learned how to manipulate colors/fill based on certain criteria. So the way I do this, or the way I know how is one shape/object at a time.

For example USA is “C_USA”, Canada is “C_CAN”, etc.

So is there a way I can define countries into groups?? ie. I would like to put USA, CAN and MEX into a NorthAmerican group so that I can just call a sub for the group instead of all three individually.

It really stinks when I am over in Europe! 🙂

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T21:12:41+00:00Added an answer on May 12, 2026 at 9:12 pm

    You can group shapes together as follows:

    Dim NA_Group As Shape
    Set NA_Group = ActiveSheet.Shapes.Range(Array("C_CAN", "C_USA", "C_MEX")).Group
    

    Note that once you have done this once, you can no longer access the individual shapes by name without first ungrouping them, or by addressing them within the NA_Group.

    Once you have them grouped, you can treat the whole group like a single shape:

    NA_Group.Fill.ForeColor.RGB = RGB(255, 255, 0)
    NA_Group.Line.ForeColor.RGB = RGB(255, 0, 0)
    '// etc.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this code public static Boolean freq[] = new Boolean[Global.iParameter[2]]; freq[Global.iParameter[2]] = false;
i have this: Dim split As String() = temp_string.Split(,) ''#feed all info into global
I have registered a component like this in my Global.asax.cs: ContainerBuilder builder = new
Before Consider to have a class and a global function: This is, for example,
In Actionscript you can have global variables like this: var number : Number =
If I have a global static variable x like in this code #include <stdio.h>
I have a singleton class for global access to config information. This singleton class
I have an Application Object. In Global.asax file i use this: Application[obj] = test;
I'm have .dbml Linq to SQL class named DExamination.dbml [global::System.Data.Linq.Mapping.TableAttribute(Name=dbo.Examination)] public partial class Examination
I have configured global Exception mapping for java.lang.Exception and defined tiles results type. <global-exception-mappings>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.