Thema Datum  Von Nutzer Rating
Antwort
Rot VBA. DISPLAYING A BUBBLE DIAGRAM WITH NAMED DATA SERIES
28.11.2014 12:01:18 david staudnger
NotSolved
29.11.2014 20:57:36 Gast1277
NotSolved
01.12.2014 07:42:22 david
NotSolved
01.12.2014 11:32:20 Gast1277
NotSolved

Ansicht des Beitrags:
Von:
david staudnger
Datum:
28.11.2014 12:01:18
Views:
1287
Rating: Antwort:
  Ja
Thema:
VBA. DISPLAYING A BUBBLE DIAGRAM WITH NAMED DATA SERIES
hello,
 
the following macro was recorded and is since then a little bit prone to failure. it should take the values of a table with 3 columns and nearly 30 rows and name the data points with the names of the data series (take the integer values in a xy-diagram and name the points with the 3rd column-values).
it does not do that, it just displays the diagram along with only 2 valued data points. (runtime error 438 or object not found). but it leaves out all the other values and data points in the diagram! 
could someone please help me? thank you a lot, yours, david
 
ActiveSheet.Shapes.AddChart.Select
ActiveChart.ChartType = xlBubble
ActiveSheet.Shapes(ActiveSheet.Shapes.Count).IncrementLeft -186.75

ActiveSheet.Shapes(ActiveSheet.Shapes.Count).IncrementTop -145.5

[...]

ActiveChart.SeriesCollection(23).Select

 ActiveChart.SeriesCollection(23).DataLabels.Select
 ActiveChart.SeriesCollection(23).Select
 ActiveChart.SeriesCollection(22).Select
 ActiveChart.SeriesCollection(22).ApplyDataLabels
 ActiveChart.SeriesCollection(19).Select
 ActiveChart.SeriesCollection(19).ApplyDataLabels
 ActiveChart.PlotArea.Select
 ActiveChart.SeriesCollection(22).Select
 ActiveChart.SeriesCollection(22).DataLabels.Select
 Selection.ShowValue = False
 Selection.ShowSeriesName = True
 ActiveChart.SeriesCollection(19).Select
 ActiveChart.SeriesCollection(19).DataLabels.Select
 Selection.ShowValue = False
 Selection.ShowSeriesName = True
 ActiveChart.SeriesCollection(1).Select
 ActiveChart.SeriesCollection(1).ApplyDataLabels
 ActiveChart.SeriesCollection(11).Select
 ActiveChart.SeriesCollection(11).ApplyDataLabels
 ActiveChart.SeriesCollection(8).Select
 ActiveChart.SeriesCollection(8).ApplyDataLabels
 ActiveChart.SeriesCollection(12).Select
 ActiveChart.SeriesCollection(12).ApplyDataLabels
 ActiveChart.SeriesCollection(12).DataLabels.Select
 Selection.ShowValue = False

 Selection.ShowSeriesName = True

[...]


Ihre Antwort
  • Bitte beschreiben Sie Ihr Problem möglichst ausführlich. (Wichtige Info z.B.: Office Version, Betriebssystem, Wo genau kommen Sie nicht weiter)
  • Bitte helfen Sie ebenfalls wenn Ihnen geholfen werden konnte und markieren Sie Ihre Anfrage als erledigt (Klick auf Häckchen)
  • Bei Crossposting, entsprechende Links auf andere Forenbeiträge beifügen / nachtragen
  • Codeschnipsel am besten über den Code-Button im Text-Editor einfügen
  • Die Angabe der Emailadresse ist freiwillig und wird nur verwendet, um Sie bei Antworten auf Ihren Beitrag zu benachrichtigen
Thema: Name: Email:



  • Bitte beschreiben Sie Ihr Problem möglichst ausführlich. (Wichtige Info z.B.: Office Version, Betriebssystem, Wo genau kommen Sie nicht weiter)
  • Bitte helfen Sie ebenfalls wenn Ihnen geholfen werden konnte und markieren Sie Ihre Anfrage als erledigt (Klick auf Häckchen)
  • Bei Crossposting, entsprechende Links auf andere Forenbeiträge beifügen / nachtragen
  • Codeschnipsel am besten über den Code-Button im Text-Editor einfügen
  • Die Angabe der Emailadresse ist freiwillig und wird nur verwendet, um Sie bei Antworten auf Ihren Beitrag zu benachrichtigen

Thema Datum  Von Nutzer Rating
Antwort
Rot VBA. DISPLAYING A BUBBLE DIAGRAM WITH NAMED DATA SERIES
28.11.2014 12:01:18 david staudnger
NotSolved
29.11.2014 20:57:36 Gast1277
NotSolved
01.12.2014 07:42:22 david
NotSolved
01.12.2014 11:32:20 Gast1277
NotSolved