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

Ãö©ó ¦Û°Ê§ó·s¹Ïªí

Ãö©ó ¦Û°Ê§ó·s¹Ïªí

¦­¦w :) ½Ð±Ð«e½ú

¦³®É­Ô·Q¦A¤w¿é¤Jªº¸ê®Æ«e¦A¼W¥[¤@­Ó·sªº¼Æ¾Ú
¹Ïªí´N¤@°Ê¤]¤£°Ê

¦³¿ìªk°µ¤@­Ó¦Û°Ê§ó·sªº«ö¶s
§Ú¤@«ö«ö¶s´N¦Û°Ê§ó·s¹Ïªí¤º®e¶Ü?
Tube Price Graph 1.rar (11.77 KB)

¦]¬°Åv­­¤£¨¬ ´£¨Ñ¤§«eµ{¦¡½Xµ¹§A°Ñ¦Ò
°ò¥»¤W°ÊºA¹Ïªíªº·§©À ¥u¬O§R°£¦bµe¦Ó¤w

Sub Chart1()
Dim ChtObj As ChartObject
Dim nRow As Integer
Dim ChartWidth As Single
Dim ChartHeight As Single
Dim ChartTop As Single
Dim ChartLeft As Single

ChartWidth = 450
ChartHeight = 250
ChartLeft = 1
ChartTop = 1
nRow = Worksheets("sheet2").Range("A65536").End(xlUp).Row

On Error Resume Next
With Worksheets("sheet1")
.Activate
.ChartObjects("Chart").Delete
End With


With Worksheets("sheet1")
    .Activate
    Set ChtObj = .ChartObjects.Add(ChartLeft, ChartTop, ChartWidth, ChartHeight)
   
End With
   
With ChtObj.Chart
  .SetSourceData Worksheets("sheet2").Range("A2:A" & CStr(nRow))
  .ChartType = xlLine
  .HasTitle = True
  .ChartTitle.Characters.Text = "¦¨¥æ»ù½u§Î¹Ï"
  .SeriesCollection(1).Name = "¦¨¥æ»ù"

End With


ChtObj.Name = "Chart"

End Sub
GinBow

TOP

        ÀR«ä¦Û¦b : ¤H­nª¾ºÖ¡B±¤ºÖ¡B¦A³yºÖ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD