½Ð°Ý¦³¤H¦³¥Îvba°µ¹L¤j½Lªºªe¬y¹Ï¶Ü
- ©«¤l
- 161
- ¥DÃD
- 26
- ºëµØ
- 0
- ¿n¤À
- 187
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2011-1-2
- ³Ì«áµn¿ý
- 2022-2-16
|
½Ð°Ý¦³¤H¦³¥Îvba°µ¹L¤j½Lªºªe¬y¹Ï¶Ü
½Ð°Ý¦³¤H¦³¥Îvba°µ¹L¤j½Lªºªe¬y¹Ï¶Ü
¦p¦ó°µ
ÁÂÁÂ:P |
|
|
|
|
|
|
- ©«¤l
- 161
- ¥DÃD
- 26
- ºëµØ
- 0
- ¿n¤À
- 187
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2011-1-2
- ³Ì«áµn¿ý
- 2022-2-16
|
|
|
|
|
|
|
- ©«¤l
- 161
- ¥DÃD
- 26
- ºëµØ
- 0
- ¿n¤À
- 187
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2011-1-2
- ³Ì«áµn¿ý
- 2022-2-16
|
ÁÂÁÂ GBKEE ¤j
§Ú¦A¬ã¨sµ{¦¡½X¬Ý¬Ý
¤£·|¦A½Ð±Ð¤j¤j
¯uªº«D±`ÁÂÁÂ^0^ |
|
|
|
|
|
|
- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 5# wufonna
¨Ì§AªþÀɪº¸ê®Æ©Ò¼g,¦p¦³¶·¦Aקï½Ð¦Û¦æ,¥Î¿ý»s¥¨¶°ªºµ{¦¡½Xקï¸Õ¸Õ¬Ý.- Sub Ex()
- Dim E As Variant, I As Integer
- Dim Rng(1 To 2) As Range
- With ¤u§@ªí1 '¤u§@ªí (Sheet ª«¥ó)
- Set Rng(1) = .Range(.[B2], .[B2].End(xlDown)).Resize(, 4) '²Ä¤@¹Ïªí¨Ó·½¸ê®Æ½d³ò
- Set Rng(2) = .Range(.[I2], .[I2].End(xlDown)).Resize(, 4) '²Ä¤G¹Ïªí¨Ó·½¸ê®Æ½d³ò
- .ChartObjects.Delete '§R°£©Ò¦³¹Ïªí
- 'ChartObjects ¤èªk¡A¸Óª«¥ó¬J¥i¥Nªí³æ¤@¤º´O¹Ïªí (ChartObject ª«¥ó)¡B¤]¥i¥Nªí¤u§@ªí¤W©Ò¦³¤º´O¹Ïªíªº¶°¦X (ChartObjects ª«¥ó)¡C
- With .ChartObjects.Add(Rng(1).Left, Rng(1).Top, Rng(1).Resize(, 11).Width, Rng(1).Resize(15).Height).Chart 'Chart(ª«¥ó)
- '·s¼W¹Ïªí Add( ¥ªÃä¦ì¸m , ¤W¤è¦ì¸m , ¹Ïªí¼e«× ,¹Ïªí°ª«× )
- .ChartType = xlLine '«ü©w¹ÏªíÃþ«¬
- '.SetSourceData Union(Rng(1), Rng(2)) '¬°«ü©w¹Ïªí³]©w¨Ó·½¸ê®Æ½d³ò¡C
- For Each E In Rng(1).Columns '
- .SeriesCollection.NewSeries '·s¼W¼Æ¦C
- I = .SeriesCollection.Count
- .SeriesCollection(I).Values = E
- .SeriesCollection(I).Name = E.Cells(0).Text
- Next
- For Each E In Rng(2).Columns
- .SeriesCollection.NewSeries
- I = .SeriesCollection.Count
- .SeriesCollection(I).Values = E
- .SeriesCollection(I).Name = E.Cells(0).Text
- .SeriesCollection(I).AxisGroup = xlSecondary
- Next
- .SeriesCollection(1).XValues = Parent.Parent.Range("A2:A" & Rng(1).Rows.Count - 1) 'X¶bªº¼ÐÅÒ¦ì¸m
- .Axes(xlCategory).TickLabels.NumberFormatLocal = "yyyy/m/d;@" 'X¶bªº¼ÐÅÒ¼ÆȮ榡
- With .Axes(xlValue) 'Y(¥D)®y¼Ð¶b
- .MinimumScale = Application.Min(Rng(1)) '³Ì¤pÈ
- .MaximumScale = Application.Max(Rng(1)) '³Ì¤jÈ
- .MajorUnitIsAuto = True '¥Dn¨è«×¶¡¶Z=¦Û°Ê³]©w
- .MinorUnitIsAuto = True '¦¸n¨è«×¶¡¶Z=¦Û°Ê³]©w
- .Crosses = xlAutomatic '®y¼Ð¶b»P¨ä¥L®y¼Ð¶b¥æ¤eªºÂI=¦Û°Ê³]©w
- .ScaleType = xlLinear '¼ÆÈ®y¼Ð¶bªº¨è«×Ãþ«¬=xlLinear
- End With
- With .Axes(xlValue, xlSecondary) 'Y(°Æ)®y¼Ð¶b
- .MinimumScale = Application.Min(Rng(2)) '³Ì¤pÈ
- .MaximumScale = Application.Max(Rng(2)) '³Ì¤jÈ
- .MaximumScaleIsAuto = True
- .MajorUnitIsAuto = True
- .MinorUnitIsAuto = True
- .Crosses = xlAutomatic
- .ScaleType = xlLinear
- End With
- End With
- End With
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 161
- ¥DÃD
- 26
- ºëµØ
- 0
- ¿n¤À
- 187
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2011-1-2
- ³Ì«áµn¿ý
- 2022-2-16
|
ÁÂÁÂ GBKEE ¤j
°õ¦æ«áÁÙ¬O¨âӹϪí
§Æ±æ°õ¦æ«á¹³ img.JPG ³o¼Ë
ÁÂÁÂ |
-
-
data2.rar
(695.53 KB)
|
|
|
|
|
|
- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 3# wufonna
¨Ì§AªþÀÉ©Ò¼gªº,¸Õ¸Õ¬Ý- Sub Ex()
- Dim E As Variant
- Dim Rng(1 To 2) As Range
- With ¤u§@ªí1 '¤u§@ªí (Sheet ª«¥ó)
- Set Rng(1) = .Range(.[B1], .[B1].End(xlDown)).Resize(, 4) '²Ä¤@¹Ïªí¨Ó·½¸ê®Æ½d³ò
- Set Rng(2) = .Range(.[I1], .[I1].End(xlDown)).Resize(, 4) '²Ä¤G¹Ïªí¨Ó·½¸ê®Æ½d³ò
- .ChartObjects.Delete '§R°£©Ò¦³¹Ïªí
- For Each E In Rng
- 'ChartObjects ¤èªk¡A¸Óª«¥ó¬J¥i¥Nªí³æ¤@¤º´O¹Ïªí (ChartObject ª«¥ó)¡B¤]¥i¥Nªí¤u§@ªí¤W©Ò¦³¤º´O¹Ïªíªº¶°¦X (ChartObjects ª«¥ó)¡C
- With .ChartObjects.Add(E.Left, E.Top, E.Resize(, 11).Width, E.Resize(15).Height).Chart 'Chart(ª«¥ó)
- '·s¼W¹Ïªí Add( ¥ªÃä¦ì¸m , ¤W¤è¦ì¸m , ¹Ïªí¼e«× ,¹Ïªí°ª«× )
- .ChartType = xlLine '«ü©w¹ÏªíÃþ«¬
- .SetSourceData E '¬°«ü©w¹Ïªí³]©w¨Ó·½¸ê®Æ½d³ò¡C
- .SeriesCollection(1).XValues = E.Parent.Range("A2:A" & E.Rows.Count - 1) 'X¶bªº¼ÐÅÒ¦ì¸m
- .Axes(xlCategory).TickLabels.NumberFormatLocal = "yyyy/m/d;@" 'X¶bªº¼ÐÅÒ¼ÆȮ榡
- End With
- Next
- End With
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 161
- ¥DÃD
- 26
- ºëµØ
- 0
- ¿n¤À
- 187
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2011-1-2
- ³Ì«áµn¿ý
- 2022-2-16
|
|
|
|
|
|
|
- ©«¤l
- 161
- ¥DÃD
- 26
- ºëµØ
- 0
- ¿n¤À
- 187
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2011-1-2
- ³Ì«áµn¿ý
- 2022-2-16
|
¥Î¿ý»s¥¨¶°¡A§Ú¥u¥i¦U§O¿ýªÑ»ù¹Ï¡B§é½u¹Ï
½Ð°Ý¦p¦ó°µ¦b¤@°_¡AÁÂÁ |
|
|
|
|
|
|