- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 81
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2025-4-5
               
|
¥»©«³Ì«á¥Ñ Hsieh ©ó 2014-2-3 22:40 ½s¿è
¦^´_ 3# bulletin
©ñ¦b'Workbooks("°]³ø²Îpªí.xlsm")ªº¼Ò²Õ- Sub Getdata()
- For i = 2 To 5
- Dim WB1 As Workbook
- Set WB1 = Workbooks.Open (Filename:="C:\Users\user\Documents\KT\§ë¸ê²z°]\Excel¤ÀªR¼Ò²Õ\" & Range("A" & i) & "©u³ø.xlsx", UpdateLinks:=False, ReadOnly:=True)
- With Thisworkbook.Worksheets("sheet1") 'Workbooks("°]³ø²Îpªí.xlsm")
- Range("E" & i).FormulaR1C1 = "=[" & Range("A" & i) & "©u³ø.xlsx]ISQ!R4C2"
- Range("F" & i).FormulaR1C1 = "=[" & Range("A" & i) & "©u³ø.xlsx]ISQ!R5C2"
- End With
- WB1.Close
- Next i
- End Sub
½Æ»s¥N½X |
|