- ©«¤l
- 5
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 7
- ÂI¦W
- 0
- §@·~¨t²Î
- window7
- ³nÅ骩¥»
- office 2007
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2014-12-27
- ³Ì«áµn¿ý
- 2014-12-30
|
¤£¦n·N«ä·Q½Ð°Ý¦p¦ó¦bexcel¥Îvba¨Ì§Ç¶}±ÒÀÉ®×
ì·Qªk¬O¥Î°j°éªº¤è¦¡¥h¨Ì§Ç¶}±ÒÀx¦s®æ¤¤ªº¸ô®|
¸ô®|¼g¦b¤u§@ªí¤¤sheet1ªºA1 ©MA2 ( C:\vbatest1.xls ©M C:\vbatest2.xls )
vba¦p¤U, ¦ýµLªk¶¶§Qrun, ¤£ª¾¥i§_À°¦£¸Ñµª / קï¿ù»~ªº¦a¤è
·P¿E!!!
Dim filename As String
Dim i As Integer
For i = 1 To 2
i = i + 0
Worksheets("Sheet1").Cells(i, 1) = filename
Workbooks.Open "filename"
Next |
|