Forum Discussion

Marino Miccio's avatar
Marino Miccio
Copper Contributor
Mar 21, 2018

Map chart - VBA code to automatically select color properties

Hi,

I want to automatically switch the select color properties of the Map Chart series between "numeric value" and "secondary category names".

I tried also recording a macro but the VBA code seems not working.

The recorded code is the following:

Sheets("DASHBOARD").ChartObjects("Chart 13").Activate

ActiveChart.FullSeriesCollection(1).DataLabels.Select
Application.CutCopyMode = False

 

Any idea?

Thanks for the support,

regards,

Marino

1 Reply

  • Haytham Amairah's avatar
    Haytham Amairah
    Silver Contributor

    Marino,

     

    This option does not seem to be recognized by the macro recorder!

    You can ask Excel team about that from https://excel.uservoice.com/forums/304921-excel-for-windows-desktop-application.

Resources