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

[µo°Ý] K ½uªÑ²¼¹Ï¦p¦ó¯à»P¥D¤O¡B´²¤á¡B¤Î¦¨¥æ¶q½u¦@¦s¡H

¦^´_ 51# c_c_lai


    §Ú¥u¬O·Q°Ñ¦Ò¤@¤U¦³¨S¦³§óí©wªºDDEµ{¦¡
   ²{¦b¤]¤£¥i¯à¯²¤@±ø±M½u (¨S¿ú)

¤j¤j  ¤U­±³o­Ó°ÝÃD½Ð¬Ý¤@¤U

  .Legend.Position = xlCorner                         ' ±N¹Ïªí¹Ï¥Ü±q¹Ïªí³Ì¤U¤è½Õ¾ã¨ì¹Ïªí¤§¥k¤W¨¤¦ì¸m

   xlCorner        §Ú§ä¤£¨ì³o­Ó°Ñ¼Æ¬O±q­þ¸Ì¨Óªº
  §ä¨ì³o­Ó  
   xlLegendPositionBottom -4107 ¹Ïªí¤U¤è
xlLegendPositionCorner 2 ¦ì©ó¹Ïªí®Ø½uªº¥k¤W¨¤
xlLegendPositionCustom -4161 ¦Û­q¦ì¸m
xlLegendPositionLeft -4131 ¹Ïªí¥ªÃä
xlLegendPositionRight -4152 ¹Ïªí¥kÃä
xlLegendPositionTop -4160 ¹Ïªí¤W¤è

§â xlCorner §ï¦¨¼Æ¦r(-4152) ¤§Ãþªº¦ì¸m´N¥i¥H§ïÅÜ  ¦ýxlCorner¬O±q­þ¸Ì±oª¾ªº

TOP

¥»©«³Ì«á¥Ñ c_c_lai ©ó 2013-8-21 16:53 ½s¿è

¦^´_ 49# seemee

­ì¥»¦¹Àɮ׬O¹ê»Ú³sµ² DDE ªº¸ê®Æ¶×¤J¡B¤ÀªR³B²z¤Î²Î­p¹Ïªí¤§ºt¥Ü¡A
¦]­n½×¤Î "K ½uªÑ²¼¹Ï¦p¦ó¯à»P¥D¤O¡B´²¤á¡B¤Î¦¨¥æ¶q½u¦@¦s¡H"
¤§¥DÃD¦Ó±q¤¤±N¦¹Ä³ÃD¦³Ãö³¡¤À¤º®e©î¸Ñ¥X¨Óªº¡C
¸ê®Æ¿ý¬O¥H¨C20¬í°O¿ý¤@µ§ (§Y¨C20¬í³Ì«á¤§¶}½L»ù¡B³Ì°ª»ù¡B³Ì§C»ù¡B¦¨¥æ»ù¡B¦¨¥æ¶q¡B¥D¤O¤¶¤J¡B´²¤á¤è¦V)
¦Ó²Î­p¹Ïªí¥ç¬O¨C¹j20¬í°ÊºA¦Û°Ê§ó·s¡C
¸ê®Æ¿ý¬Û¹j®É¶¡ªº®t²§ºÝµø·í¨Æ¤H¤§­Ó¤HÆ[ÂI»P½L¤¤«K§QÆ[¹î¤Î§PÂ_¦Ó©w¡A
¨S¦³µ´¹ï¤§¼Ð·Ç¥i¨¥¡A±`Å¥¨ì "¿éŨ£¯u³¹"¡A§A­q¥ßªºµ¦²¤¦¹®ÉÁȤF¡A
¨º«K¬O¨Æ¹ê¡F¤Ï¤§¡B¦¹µ¦²¤¦b¬Y®É¬q¾Þ§@¤£©¯ºG±Ñ¡A¨º¤]¬O¤£ª§¤§¹ê¡C
´N¬Ý§A«ç»ò¥h«ä¦Ò¤F¡I

TOP

ÁÂÁÂ c_c_lai  ¤j¤j ^_^

TOP

¦^´_ 46# c_c_lai


    ·s°ÝÃD¤S¨Ó¤F.
   .Legend.Position = xlCorner                         ' ±N¹Ïªí¹Ï¥Ü±q¹Ïªí³Ì¤U¤è½Õ¾ã¨ì¹Ïªí¤§¥k¤W¨¤¦ì¸m

   xlCorner        §Ú§ä¤£¨ì³o­Ó°Ñ¼Æ¬O±q­þ¸Ì¨Óªº
  §ä¨ì³o­Ó  
   xlLegendPositionBottom -4107 ¹Ïªí¤U¤è
xlLegendPositionCorner 2 ¦ì©ó¹Ïªí®Ø½uªº¥k¤W¨¤
xlLegendPositionCustom -4161 ¦Û­q¦ì¸m
xlLegendPositionLeft -4131 ¹Ïªí¥ªÃä
xlLegendPositionRight -4152 ¹Ïªí¥kÃä
xlLegendPositionTop -4160 ¹Ïªí¤W¤è

§â xlCorner §ï¦¨¼Æ¦r(-4152) ¤§Ãþªº¦ì¸m´N¥i¥H§ïÅÜ  ¦ýxlCorner¬O±q­þ¸Ì±oª¾ªº

¦A¦h°Ý¤@­Ó°ÝÃD
§Ú¬Ý§Aªº ¼Æ¾Ú¬O¤G¤Q¬íºI¨ú¤@¦¸ À³¸Ó¬O¥ÎDDE§a?
½Ð°Ý§A¤@¦¸ºI¨ú¦h¤Ö®æªº¼Æ¾Ú  ·|¤£·|¦³©µ¿ðªº°ÝÃD?
§Ú¥Î³Í°ò¤j¤T¤¸ ºI¨ú 24X300 ­Ó¼Æ¾Ú  ¦n¹³¤£¬O«Ü¶¶ ¦³¤°»ò¦n«Øij©O?

TOP

¦^´_ 47# wufonna
Check E-Mail.

TOP

c_c_lai ¤j¤j
«Ü´ÎªºÀɮסA¥i¥H¤À¨É¨Ó¬ã¨s¶Ü¡A¤p¾Ç¥Í¡AÁÂÁÂ
[email protected]

TOP

¥»©«³Ì«á¥Ñ c_c_lai ©ó 2013-8-21 07:56 ½s¿è

¦^´_ 45# seemee
¥H¥Ø«e¥»Àɮתºµ{¦¡½X¤º®e¨Ó½×¡G
  1.     ActiveSheet.ChartObjects("¹Ïªí 1").Left = Cells(xRow, yCol).Left
  2.     ActiveSheet.ChartObjects("¹Ïªí 1").Top = Cells(xRow, yCol).Top
½Æ»s¥N½X
ActiveSheet ªº«e´£¤U¡A¸Ó¥Ø«e§@¥Î (Active) ¤§ WorkSheet ¥²¶·¬° "¤u§@ªí1"¡A
¦pªG§A¤Á´«¨ì "¤u§@ªí2" ©ÎªÌ¬O "¤u§@ªí3"¡A¦A¨Ó°õ¦æ drawCharts()¡A«h·|¦³¡G
          °õ¦æ¶¥¬q¿ù»~ '5'
          µ{§Ç©I¥s©Î¤Þ¼Æ¤£¥¿½T
¿ù»~°T®§¡C ©Ò¥H¦¹³B­×§ï¦¨¡G
  1.     Sheets("¤u§@ªí1").ChartObjects("¹Ïªí 1").Left = Cells(xRow, yCol).Left
  2.     Sheets("¤u§@ªí1").ChartObjects("¹Ïªí 1").Top = Cells(xRow, yCol).Top
½Æ»s¥N½X
©ú½T¤§«ü©w°õ¦æªº¤u§@ªí³æ¡A«h¬O¥¿½Tªº¦Ò¶q¡A®¥³ß§A¥\¤O¤S¼Wªø¤F¡C

TOP

¦^´_ 43# c_c_lai

°Ê¤F°Ê¤F
Sheets("¤u§@ªí1").ChartObjects("¹Ïªí 1").Left  = Cells(xRow, yCol).Left   
§ï¦¨³o¼Ë´N¥i¥H°Ê¤F..

   ÁÂÁ«e½ú«ü±Ð

TOP

¦^´_ 43# c_c_lai


    ¤£¿f§A»¡  «Ü¦h»yªk³£°Å°Å¶K¶Kªº «Ü¦h»yªk ¬Ý¤£¤ÓÀ´
   §Ú·Ó§A»¡ªº§âchartname §ï¦ì¸m¤F..
¦ý¬O¹Ïªí¦ì¸m ¤£·|°ÊA
©ó¬O§Ú§ï¤F³Ì«á¨â¦æ  ÁÙ¬O¤£·|°Ê  ³Â·ÐÀ°§Ú¬Ý¤@¤U
  1.         chartname = Trim(Replace(.Name, .Name, ""))
  2.     End With
  3.    
  4.    
  5.     Sheets("¤u§@ªí1").Shapes(chartname).Left = Cells(xRow, yCol).Left     ' ³]©w¦¹¹Ïªí¹ê»ÚÂ\©ñªº X¡BY ®y¼Ð¦ì¸m¡C
  6.     Sheets("¤u§@ªí1").Shapes(chartname).Top = Cells(xRow, yCol).Top
  7.    
  8.     Range("A1").Select
  9. End Sub
½Æ»s¥N½X

TOP

¦^´_  c_c_lai


    ½Ð±Ð¤@¤U
   §Ú§â¨ä¤¤»yªk§ï¦¨  with Sheets("¤u§@ªí1").ChartObjects("¹Ïªí 1") ...
seemee µoªí©ó 2013-8-20 17:47

¦pªG§ï¦¨  with Sheets("¤u§@ªí1").ChartObjects("¹Ïªí 1") .Chart¡A½Ð±N chartname ²¾°Ê¦ì¸m¡A¨Ã¥[¥H­×§ï ActiveChart.Name -> .Name.
§_«h°õ¦æ·|¦³¿ù»~°T®§¡C
  1.         text = "ªÑ²¼¹Ï K ½u¡B¥D¤O¡B´²¤á¡B»P¦¨¥æ¶q"
  2.         
  3.         .SetElement (msoElementChartTitleCenteredOverlay)
  4.         .ChartTitle.text = text
  5.         .ChartTitle.Format.TextFrame2.TextRange.Font.Size = 14
  6.         .Legend.Position = xlCorner                         ' ±N¹Ïªí¹Ï¥Ü±q¹Ïªí³Ì¤U¤è½Õ¾ã¨ì¹Ïªí¤§¥k¤W¨¤¦ì¸m
  7.         chartname = Trim(Replace(.Name, .Name, ""))
  8.     End With
  9.    
  10.     ActiveSheet.Shapes(chartname).Left = Cells(xRow, yCol).Left     ' ³]©w¦¹¹Ïªí¹ê»ÚÂ\©ñªº X¡BY ®y¼Ð¦ì¸m¡C
  11.     ActiveSheet.Shapes(chartname).Top = Cells(xRow, yCol).Top
  12.    
  13.     Range("A1").Select
  14. End Sub
½Æ»s¥N½X
§A´£¤Îªº°ÝÃD¬O¥i¥H°µ¨ìªº¡A¦ý¶·¥t¥~¥[¤W¤@¨Çµ{¦¡½X¥h°ÊºA¦a³B²z»PºÞ²z¶×¤J¤§¸ê®Æ¿ý¡C

TOP

        ÀR«ä¦Û¦b : ¦³Ä@©ñ¦b¤ß¸Ì¡A¨S¦³¨­Åé¤O¦æ¡A¥¿¦p¯Ñ¥Ð¤£¼½ºØ¡A¬Ò¬OªÅ¹L¦]½t¡C
ªð¦^¦Cªí ¤W¤@¥DÃD