- ©«¤l
- 66
- ¥DÃD
- 16
- ºëµØ
- 0
- ¿n¤À
- 99
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-8-12
- ³Ì«áµn¿ý
- 2023-10-26
|
¦^´_ 3# singo1232001
·PÁÂsingo1232001¤j¤jªº¦^ÂСA±zªºªþÀɤp§Ì¤w´ú¸Õ¡A¦ý¦³°ÝÃD½Ð±Ð¡A
Workbooks("a1").Sheets("¤u§@ªí1").[a1] = i: DoEvents
¤@¶}©l³£¥X¿ù¦b³oÃä¡A§ó§ï¦p¤U«á¥i¥H°õ¦æ¡A
Workbooks("a1.xlsm").Sheets("¤u§@ªí1").[a1] = i: DoEvents
(a2,a3¦P¨B§ó§ï)
¦ýa2¤Îa3¤´µM¬O¦ba1ªºÀɮ׬[ºc¤U¥H°ßŪ¼Ò¦¡¶}±Ò°õ¦æ¡A
°ßŪ¼Ò¦¡¶}±Ò¤§ÀÉ®×a2,a3§¡¥i§¹¦¨°õ¦æ¥¨¶°¡A
¤w¥ý¦æ¤â°Ê¿W¥ß°õ¦æa2¤Îa3ÀÉ¥¼°õ¦æ¥¨¶°¡A
¨ì¦¹¨BÆJ¦@¦³5ÓÀɮ׶}±Ò1a1,1a2,1a3,1a2°ßŪ,1a3°ßŪ
¤£ª¾¹DþÃ䦳¿ùÁٽЫü¾É«ü¾É¡A·P®¦¡I
¤p§Ìºc·Q¬O¦bAÀɮשI¥sBÀÉ®×¥H¿W¥ß°õ¦æ¤è¦¡¶}±Ò¨Ã°õ¦æ¥¨¶°¡A
¦ýAÀÉ®×¥i¥HÄ~Äò¶i¦æ¤â°Ê¤u§@©Î¨ä¥L¥¨¶°¡A¦ÓBÀɮ׫ùÄò°õ¦æ¥¨¶°¡A
Dim xlApp As Excel.Application
Dim book As Excel.Workbook
Dim sheet As Excel.Worksheet
Set xlApp = CreateObject("excel.Application")
Set book = xlApp.Workbooks.Open("D:\¤½¦¡.xls")
¦¹³B¥i¥H¿W¥ß°õ¦æ¶}±ÒBÀÉ®×
Application.Run "'D:\¤½¦¡.xls'!Module1.msg"
¦¹³BµLªk¥H¿W¥ß°õ¦æBÀÉ®×msg()¡A¤´¥HAÀÉ®×°õ¦æmsg()
¤Wz¼gªk¤´»Ý§JªA¥H¤U°ÝÃD¡G
¤@¡B¥i¶}±Ò¿W¥ß°õ¦æBÀɮסA¦ýµLªk°õ¦æBÀÉ®×¥¨¶°¡F©Î ¥i°õ¦æ¥¨¶°¦ý«o¬O¥HAÀɮ׬[ºc¤U¶}±Ò
¤G¡B¦]µ{¦¡½X¼¶¼g¦bAÀɮסA¬G©I¥sBÀÉ®×°õ¦æ¥¨¶°¥¼§¹¦¨«e¡A±±¨îÅv¤´¦bBÀɮסAµLªk©I¥s«áÂkÁÙ±±¨îÅv
¥H¤WÁٽФj¤j«ü¾É«ü¾É¡A·P¿E³á¡I |
|