activechart

  1. V

    SetSourceData error with pie chart

    I want to create a pie chart and set the source data. I've spent a long time searching, with this being the most helpful. I keep getting this error, "run time error 2147221080 (800401a8): automation error" for the following code. Sub createchart() Charts.Add With ActiveChart...
  2. D

    ActiveChart does not work when running a batch. How to solve it?

    Hi Guys, I am having difficulty running a small report via Task Scheduler. It works fine updating form the database but this last code gives me a headache. The error says: "Run-time error '91': Object cariable or With block varible not set I know its the highligthed with red color, but just...
  3. R

    Resize Chart Area in 2010 Excel VBA

    Hello Im trying to resize the chart area width and height using vba,but keep getting “shape is locked and cannot be resized” error. I am using basic commands such as: With ActiveChart .ChartArea.Height = 200 .ChartArea.Width= 50 End With Any way to work around this lock error? Thank you
  4. M

    Application-defined or object-defined error...

    Hi, I'm bored so I felt like making a pie chart of my cell phone data usage. I made a spreadsheet (table below) that has a column that labels each application and the corresponding data that it used. My macro then creates a second table of only the applications that used 2% or more of the total...
  5. P

    ActiveChart Selection?

    Hi all I've been scratching my head over this problem, it seems a little odd. I have a macro that creates and automatically populates an xy chart. On startup it works, but a few minutes in to using the spreadsheet it suddenly stops working and kicks out a 91 error. sometimes it will all of a...
  6. S

    Charttype issues using if then

    Hi Goal: Format charts differently depending on type My code: If ActiveChart.ChartType = xlColumnClustered Then Call Ejmellem Problem: Somehow vba can't read which type the active chart is when running the code and therefore the Ejmellem isn't called. Half solution: For example if I define...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top