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

[µo°Ý] Ãö©ó°ÊºA½d³ò©w¸q¦WºÙ

¦^´_ 10# t76725


    §Ú¸Õ¤F¤@¤U, °ÝÃDÂI:
1. A1¬OªÅ®æ ½Ð¸É­Ó¼ÐÃD¦p"data", ¦A±N´å¼Ð°±¦bdata(§YA1) ´¡¤J=>¦WºÙ=>©w¸q data  =OFFSET(Sheet1!$A$1,,,COUNTA(Sheet1!$A:$A),COUNTA(Sheet1!$1:$1))
2. ±zÁö¬OµeXY´²§G¹Ï, ¥i¬OX»PY§¤¼Ð¶b«ê¦n¬Û¤Ï, Áö¥Î§Úªº¤èªk¥i¥H¤@¦¸±N¦hµ§¸ê®Æ³]¤J,¥i¬O¹q¸£·|¦Û°Ê§â±zªº¹Ï­Ë¹L¨Ó(¦p¤U)

TOP

¦^´_ 11# infoverdad


    ³o°ÝÃD¸Ñ¨M¤F ¦ý¬OÅܦ¨»¡ §Ú«ö¥kÁä>¨Ó·½¸ê®Æ>¼Æ¾Ú>·s¼W>¦WºÙÂI¿ï9/1¤é¡AX­È=Sheet1!$M$2:$M$26 Y­È=Sheet1!$A$2:$A$26
    ¦WºÙ¥¿½T¦ý¬OX­È¸òY­È¸ò§Ú­nªº¤è¦n¬O¬Û¤Ï ©Ò¥H¹Ï§Î¤W¥þ³¡³£Åܱ¼¤F §Ú¤]¸Õ¤F¦n¦h¤è¦¡³£¦æ¤£³q¤]!
ª©¥D»¡:­n¦³¤£®¢¤U°Ý ¥´¯}¬âÁç°Ý¨ì©³ªººë¯«..§Ú¤@©w­n·dÀ´¥L!!!!!!!!

TOP

¦^´_ 12# t76725


    X­È=Sheet1!$M$2:$M$26 Y­È=Sheet1!$A$2:$A$26
    ¦pªGY­È¥i¥H¬OX­È=Sheet1!$A$2:$A$26  Y­È=Sheet1!$M$2:$M$26
    ¨º³o°ÝÃD´N¶êº¡¤F
ª©¥D»¡:­n¦³¤£®¢¤U°Ý ¥´¯}¬âÁç°Ý¨ì©³ªººë¯«..§Ú¤@©w­n·dÀ´¥L!!!!!!!!

TOP

¦^´_ 13# t76725


    §Ú©Ò»¡ªº²Ä2­Ó°ÝÃDÂI¥¿¬O¦p¦¹!

TOP

¥»©«³Ì«á¥Ñ infoverdad ©ó 2011-9-5 18:31 ½s¿è

¦^´_ 14# infoverdad

¥i¯à¶·¥HVBA¨Ó¸Ñ¨M¤F!!
¥i§Úªº¥\¤O¤£°÷,¥u¯à°µ¨ì¤U­±ªº­«µe,¥N½X¤ÎÀɮתþ¤W,¬Ý¬O§_¦³¤H¥i¥H°µ¨ì¥u³B²z·s¼W¬YÄæ¸ê®Æªº³¡¥÷.
Redraw.rar (11.21 KB)
  1. Sub RedrawXYchart()

  2. '½s»s¤@­Ó´`Àô¤À§O¬°¨C­Ó¨t¦C¡]ÂI¡^«ü©w¼Æ¾Ú°Ï°ì¡]X¡AY§¤¼Ð¡^
  3. Dim i As Integer

  4. Dim myRange As Range
  5. Set myRange = Sheet1.UsedRange
  6. myRange.Select

  7. Charts.Add
  8. ActiveChart.ChartType = xlXYScatterSmooth
  9. ActiveChart.SetSourceData Source:=myRange, PlotBy:=xlColumns

  10. For i = 1 To Sheet1.UsedRange.Columns.Count - 1

  11. ActiveChart.SeriesCollection(i).Name = "=Sheet1!R1C" & i + 1
  12. ActiveChart.SeriesCollection(i).XValues = "=Sheet1!R2C" & i + 1 & ":R26C" & i + 1
  13. ActiveChart.SeriesCollection(i).Values = "=Sheet1!R2C1:R26C1"

  14. Next
  15.     ActiveChart.ChartArea.Select
  16.     ActiveChart.HasLegend = True
  17.     ActiveChart.Legend.Select
  18.     Selection.Position = xlBottom

  19. End Sub
½Æ»s¥N½X

TOP

«z! ÁÂÁ©pinfoverdad  
¤µ¤Ñ¤S¬ã¨s¤F¤@¤U §Úµoı»¡
³o¼Ë¦n¹³¤£¤Ó¯à²Å¦X¤½¥qªº»Ý¨D
§Ú­Ë¬Oı±oVBA ¤ñ¸û¥i¥H¸Ñ¨M³o¤@¤Á
¹ï§Aªº³oµ{¦¡½X «Ü¦³¿³½ì
¤£¾å±o¦pªG¥u¬O«Ü³æ¯Âªº§Ú²Ä¤@­¶POªº¨º¨Ç¹Ï¤ù
VBA¬O§_¥i¥H»´¦Ó¤@Á|±o§â¥¦¼g¥X¨Ó?
ª©¥D»¡:­n¦³¤£®¢¤U°Ý ¥´¯}¬âÁç°Ý¨ì©³ªººë¯«..§Ú¤@©w­n·dÀ´¥L!!!!!!!!

TOP

¦^´_ 16# t76725


    ±z¥i¥H¦Û¦æ´ú¸Õ§a ¥u­nÅÞ¿è¬OÃþ¦üªº¸Ü

TOP

        ÀR«ä¦Û¦b : ¦³¤ß´N¦³ºÖ¡A¦³Ä@´N¦³¤O¡A¦Û³yºÖ¥Ð¡A¦Û±oºÖ½t¡C
ªð¦^¦Cªí ¤W¤@¥DÃD