¦p¦ó¥i¥H¹ê²{¹³ excel ªº¶}±ÒÂÂÀɤ@¼ËªºÀÉ®×Ãþ«¬¿ï¾Ü
- ©«¤l
- 6
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 13
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- xp
- ¾\ŪÅv
- 10
- ©Ê§O
- ¤k
- ¨Ó¦Û
- ¦a²y
- µù¥U®É¶¡
- 2011-3-12
- ³Ì«áµn¿ý
- 2012-2-17
|
¦p¦ó¥i¥H¹ê²{¹³ excel ªº¶}±ÒÂÂÀɤ@¼ËªºÀÉ®×Ãþ«¬¿ï¾Ü
½Ð°Ý¦p¦ó³]©wÀɮתºÃþ«¬?
¦p¦ó¥i¥H¹ê²{¹³ excel ªº¶}±ÒÂÂÀɤ@¼Ë
¥i¥H¿ï¾Ü¤£¦PªºÀÉ®×Ãþ«¬??
¥H¤U¬O§Ú¼gªºopen file ªº code
Set Fso = CreateObject("Scripting.FileSystemObject")
Set Fd = Application.FileDialog(msoFileDialogFilePicker)
Fd.Title = "Please select a file"
Select Case Fd.Show
Case 0
MsgBox ("You have not select a file")
add_file = False
Exit Function
UserForm.Show
Case -1
Fld = Fd.SelectedItems(1)
add_file = True
End Select
Workbook.Open Filename:=Fld, ReadOnly:=True |
|
s
|
|
|
|
|
- ©«¤l
- 6
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 13
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- xp
- ¾\ŪÅv
- 10
- ©Ê§O
- ¤k
- ¨Ó¦Û
- ¦a²y
- µù¥U®É¶¡
- 2011-3-12
- ³Ì«áµn¿ý
- 2012-2-17
|
¥»©«³Ì«á¥Ñ grostcar ©ó 2011-3-25 16:20 ½s¿è
¬O³oÓ¤F·PÁ®v¥S
¨S¦³°ÝÃD¤F
ÁÂÁ®v¥SÀ°¦£ |
|
s
|
|
|
|
|