Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sub CryoDry_CD8_Create_Combo_Graph()
- '
- ' Creates a combo graph from CD8 logs
- '
- Range("B5").Select
- Range(Selection, Selection.End(xlToRight)).Select
- Range(Selection, Selection.End(xlDown)).Select
- ActiveSheet.Shapes.AddChart2(201, xlColumnClustered).Select
- ActiveChart.FullSeriesCollection(1).ChartType = xlColumnClustered
- ActiveChart.FullSeriesCollection(1).AxisGroup = 1
- ActiveChart.FullSeriesCollection(2).ChartType = xlColumnClustered
- ActiveChart.FullSeriesCollection(2).AxisGroup = 1
- ActiveChart.FullSeriesCollection(3).ChartType = xlColumnClustered
- ActiveChart.FullSeriesCollection(3).AxisGroup = 1
- ActiveChart.FullSeriesCollection(4).ChartType = xlLine
- ActiveChart.FullSeriesCollection(4).AxisGroup = 1
- ActiveChart.FullSeriesCollection(5).ChartType = xlLine
- ActiveChart.FullSeriesCollection(5).AxisGroup = 1
- ActiveChart.FullSeriesCollection(1).ChartType = xlLine
- ActiveChart.FullSeriesCollection(2).ChartType = xlLine
- ActiveChart.FullSeriesCollection(3).ChartType = xlLine
- ActiveChart.FullSeriesCollection(5).AxisGroup = 2
- ActiveChart.FullSeriesCollection(4).AxisGroup = 2
- ActiveChart.Axes(xlValue, xlSecondary).Select
- ActiveChart.Axes(xlValue, xlSecondary).ScaleType = xlLogarithmic
- ActiveChart.Axes(xlCategory).Select
- Selection.TickLabelPosition = xlLow
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement