- ©«¤l
- 1018
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 1058
- ÂI¦W
- 0
- §@·~¨t²Î
- win7 32bit
- ³nÅ骩¥»
- Office 2016 64-bit
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2012-5-9
- ³Ì«áµn¿ý
- 2022-9-28
|
¦^´_ 4# funnydisk
°Ñ¦Ò¬Ý¬Ý- Sub test()
- Dim file_path As String
- Dim sArr
- file_path = "C:\¤H¨Æ¸ê®Æ\Á~¸ê.xlsx"
- sArr = Split(file_path, "\")
- sArr(UBound(sArr)) = "[" & sArr(UBound(sArr)) & "]"
- file_path = "'" & Join(sArr, "/") & "sheet1'"
- ActiveCell.FormulaR1C1 = "=VLOOKUP(RC[-10]," & file_path & "!R4C[-10]:R1900C[-6],3,FALSE)"
- End Sub
½Æ»s¥N½X |
|