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

½Ð°Ý¦U¦ì¤j¤j¦³Ãö¹Ïªíªº¤p°ÝÃD...ÁÂÁÂ!!

¦^´_ 1# samneng
  1. Private Sub CommandButton1_Click()
  2.     Dim c As Long
  3.     Sheets("¼Ï¯Ã¤H­û¤ÀªR").Activate
  4.     c = Cells(3, Columns.Count).End(xlToLeft).Column    '²Ä¤T¦C³Ì«á¤@µ§Ä渹
  5.    
  6.     With ActiveSheet.ChartObjects("¹Ïªí 2").Chart
  7.         .SetSourceData Source:=Union([A10:A14], [A17], Cells(10, c).Resize(5), Cells(17, c)) '¿ï¾Ü¸ê®Æ¨Ó·½
  8.         .SeriesCollection(1).Name = Cells(2, c) '¼Æ¦C¦WºÙ
  9.     End With
  10. End Sub
½Æ»s¥N½X
ªí¹F¤£²M¡BÃD·N¤£©ú½T¡B¨SªþÀɮ׮榡¡B¨S¦³°Q½×°ÝÃDªººA«×~~~~~~¥H¤W·R²ö¯à§U¡C

TOP

        ÀR«ä¦Û¦b : ¦Û¤v®`¦Û¤v¡A²ö¹L©ó¶ÃµoµÊ®ð¡C
ªð¦^¦Cªí ¤W¤@¥DÃD