ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] Ãö©ótrend chart VBA¼gªk¡C ActiveChart.SeriesCollection(1).Points(I).Select

[µo°Ý] Ãö©ótrend chart VBA¼gªk¡C ActiveChart.SeriesCollection(1).Points(I).Select

2017-06-09_144502.jpg


¬¡­¶Ã¯1.tar (38 KB)

§Ú­n±N¤é´Á¥H«áªºÂI¡A¼Ð°OÅܤj
½Ð°Ý¦U¦ì¾Çªø¥H¤U³o¼Ë¼g­þ¸Ì¦³°ÝÃD? ·|¦³§Ú­nªºµ²ªG¡A¦ý¬O·|¥X²{¿ù»~?
¦pªG°£¤FÅܤj¥H¥~¡A¦A¥[¤WÅÜÃC¦â¡A¦p¬õ¦â­n«ç»ò¼g? ÁÂÁÂ!

Public Sub bb()
    a = Sheets("¤u§@ªí2").Range("P3") + 1
    b = Sheets("¤u§@ªí2").Range("P3") + Sheets("¤u§@ªí2").Range("P4") + 1
    For I = a To b
'¿ï¨ú¤é´Á¤§«áªºÂI
    ActiveSheet.ChartObjects("¹Ïªí 2").Activate
    ActiveChart.SeriesCollection(1).Select
    ActiveChart.SeriesCollection(1).Points(I).Select
'±N¿ï¨úªºÂI¡ASize§ï¬°10
    Selection.MarkerSize = 10
    Next
End Sub

¦^´_ 2# stillfish00

ÁÂÁÂ! stillfish00

TOP

¦^´_ 1# chiang0320
1.
b = Sheets("¤u§@ªí2").Range("P3") + Sheets("¤u§@ªí2").Range("P4") + 1
    = 99+52+1 = 152
¶W¥X¸ê®ÆÂI½d³ò

2.
Åܬõ¦â
Selection.Format.Fill.ForeColor.RGB = RGB(255, 0, 0)
ªí¹F¤£²M¡BÃD·N¤£©ú½T¡B¨SªþÀɮ׮榡¡B¨S¦³°Q½×°ÝÃDªººA«×~~~~~~¥H¤W·R²ö¯à§U¡C

TOP

        ÀR«ä¦Û¦b : ¶¢¤HµL¼Ö½ì¡A¦£¤HµL¬O«D¡C
ªð¦^¦Cªí ¤W¤@¥DÃD