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 8582711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:21:36+00:00 2026-06-11T21:21:36+00:00

I have VBA code that I wrote that creates an Excel Column Cluster chart

  • 0

I have VBA code that I wrote that creates an Excel Column Cluster chart and all of my code works however I am not happy with the look of my chart so I was trying to dress it some. The chart is part of an automated report so I just want to be able to schedule my macro to run and not have to manually make changes to the data series. Because Excel 2007 has the properties and methods of the charts set to read only they don’t populate when you record a macro.

So I am trying to do something similiar as the following post
How to apply ShapeStyle to a specific Series of a Chart in Excel using VBA?

However I am trying to apply a Shape Effect to a chart series. Manually to get the Shape Effect I want you have to select the series in the chart then Chart Tools > Format > Shape Effects > Preset > Preset 2. This makes the data series appear 3D without the hassle of a 3D chart. Also, I cannot use a 3D chart because I have a fourth data series on a second access and you cannot do this with a 3D column cluster chart.

Any help would be greatly appreciated.

UPDATE

I went back and I looked at this in 2010 to see if anything had changed. You still can’t directly apply a preset to a chart however the record macro does make an attempt at recording something.

If you select a series and apply a preset then go look at the 3-D options you can see what values were set. From there it is just a matter of setting those in your VBA.

Here are the classes for the the 3-D options

 Selection.Format.Line
 Selection.Format.Fill
 Selection.Format.Shadow
 Selection.Format.Glow
 Selection.Format.ThreeD

There are a lot of properties so I won’t list them all. I did find that if you record a macro and set a property it gets recorded so that can help you get closer to applying the desired effect.

  • 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-06-11T21:21:38+00:00Added an answer on June 11, 2026 at 9:21 pm

    You could try one of the following attemps:

    Chart.ApplyLayout(1)
    

    using a Diagrammlayoutpreset you previously defined.

    Or use this:

    with Chart.SeriesCollection(1).Format.ThreeD
         .visible = true  
         .depth = 50
    end with
    

    Look for the ThreeDFormat-Object in Excel-Help to get all possible settings. This is not 3D-Style-Chart, but 3D-Style series 😉 To get the same results as preset2, just lookup the formatchanges in the formatdialog of a preset2-series.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone have any vb.net or vba code that will format excel values or
I have a VBA code that creates a file and need to have an
I wrote VBA code that updates changes made in Excel to a database (SQL
I have an Excel workbook, which using VBA code that opens another workbook, copies
I have some VBA code that needs to talk to a running c# application.
I have a method in my VBA code that needs to be assigned to
I'm not sure why my code is not working.. I have code in vba
I have writen some code in VBA (Excel) with error handling labels. It worked
I have a VBA script that inserts long strings into Excel cells. In some
does anyone have a VBA code to create a bookmark into the first column

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.