Exel for civil engineer

Page 334

.LineStyle = xlContinuous End With am = am + 1 Next i

L_III = L_II + 1 L_IV = L_II + NM + NM am = 1 'creating joint lines to axis For i = L_III To L_IV With ActiveChart .SeriesCollection.NewSeries .SeriesCollection(i).XValues = mjxVal(am) .SeriesCollection(i).Values = mjyVal(am) .SeriesCollection(i).Name = "=""""" End With ActiveChart.SeriesCollection(i).Select With Selection .MarkerBackgroundColorIndex = xlNone .MarkerForegroundColorIndex = xlNone .MarkerStyle = xlNone .Smooth = False End With With Selection.Border If mcolor(am) < 0 Then .ColorIndex = 3 Else .ColorIndex = 5 End If .Weight = xlMedium .LineStyle = xlContinuous End With am = am + 1

Next i

ActiveChart.ChartArea.Select

An Introduction to Excel for Civil Engineers

327


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.