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

¥Îexcel°µ¥X¦±½u¹ÏµM«á¨q¨ìVB6¤W

¥Îexcel°µ¥X¦±½u¹ÏµM«á¨q¨ìVB6¤W

¤p§Ì§Ú³Ìªñ¦b¼gVB6~

·Q»¡­n§âexcelÀɮ׸̭±ªº¦±½u¹Ï¨q¦bVB6¤W­±~

¥Ø«e¬O¥i¥H¿ì¨ì!~

¤£¹L¦³¤@¨Ç¦a¤è¦³ÂI°ÝÃD~

1. Dim nowChart As Object
Set nowChart = xlBook.Charts.Add
nowChart.ChartType = xlLineMarkers
' nowChart.SetSourceData Source:=Sheets("Sheet6").Range("A2:D8") '¥[¤W¥h¦³°ÝÃD~³o¦æ¦b­«½Æ°õ¦æªº®É­Ô·|Åã¥Ü¿ù»~!~
nowChart.Location Where:=xlLocationAsObject, Name:="Sheet" & CInt(selectsheet.Text)

2.¦A¨Ó´N¬O·Q½Õ¾ã¤@¤U¹Ï¤ùªº¤j¤p~´N¬O¦bexcel¸Ì­±½Õ¾ã¦n¦b¨q¨ìVB6¤W­±³o¼Ë~

xlSheet.Shapes("¹Ïªí 1").ScaleWidth 1.05, msoFalse, msoScaleFromTopLeft

·Q»¡¥Î³o­Ó¥h½Õ¾ã~¦ý¬O¦n¹³msoFalse, msoScaleFromTopLeftÅܼƥ¼©w¸q!~®`§Ú¤£ª¾­n¦p¦ó¤U¤â!

¥»©«³Ì«á¥Ñ hugh0620 ©ó 2011-7-27 08:02 ½s¿è

¼Ó¥D~
§Ú¨S¦³¥Î¹LVB6ªº¤è¦¡¼g¹Lµ{¦¡~
¤£¹L~ ¨D¾Ç®É¦P¾Ç¦³¥Î¹LDELPHI 7ªº¤è¦¡µe¹L¦±½u¹Ï~
¬O§_¼Ó¥D´Âªº¤è¦V©¹VB6 §ä¦±½u¹Ïªºª«¥ó~
ª½±µ¦bVB6¤W§¹¦¨~ ¤£¬O¤ñ¸û¤è«K¤@¨Ç~
(VB6¥X¨Ó«ç»ò¤[¤F~ ¦±½u¹Ïªºª«¥óÀ³¸Ó¥i¥H§äªº¨ì)
­Ó¤H¤p¤pªº«Øij
¤U¦Cºô§}¬Oºô¤W¨Ï¥Îvb6ø»s¦±½u¹Ïªº½d¨Ò~ §Æ±æ¯à°÷À°¨ì§A~
http://tw.myblog.yahoo.com/lk-hsu/article?mid=2159
¾Ç²ß¤~¯à´£¤É¦Û¤v

TOP

¦hÁÂhugh0620¥S~
§Ú·|¦n¦n¨Ó¬ã¨s¤@¤U«ç»ò¨Ï¥Îªº^^~

TOP

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