activechart.setsourcedata

  1. S

    Method Range of Object Global Failed Error in VBA macro

    Greetings, I am running into a Method 'Range' of object'_Global' failed error in my macro below Dim AA as String: AA = ActiveSheet.Name ActiveSheet.Activate Range("A4:K300").Select ActiveSheet.Shapes.AddChart2(227,xlLine).Select ActiveChart.SetSourceData Source:=Range("AA!$A$4:$K$300")...
  2. W

    Create PieChart => Error 91

    I have a code where I am pulling data from a sheet and then creating Pie charts based on the data. My proof of concept code uses the following code and works - but is too simple since I need to create 3 charts from each line: With ws .Shapes.AddChart.Select...

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