- ©«¤l
- 258
- ¥DÃD
- 77
- ºëµØ
- 0
- ¿n¤À
- 385
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- Taiwan
- µù¥U®É¶¡
- 2010-8-8
- ³Ì«áµn¿ý
- 2021-1-25
|
[µo°Ý] ¦p¦ó¤U«ü¥O ±N©Ò¦³µøµ¡¦¬¨ì³Ì¤U±ªº¤u§@¦C¸Ì
½Ð±Ð½Ñ¦ìª©¥D¤j¤j:
·Q¦bSub Main() ªº ²Ä¤@¦C ¤U«ü¥O ±N©Ò¦³µøµ¡¦¬¨ì³Ì¤U±ªº¤u§@¦C¸Ì
(¥ØªºÅý±µ¤U¨Ó ¥»µ{¦¡©Ò¤Þµoªºµøµ¡ ¦b³Ì¤W¼h)
Sub Main()
«ü¥O '±N©Ò¦³µøµ¡¦¬¨ì³Ì¤U±ªº¤u§@¦C¸Ì
Dim f1
f1 = App.EXEName
Dim fso, f As Object
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFile(f1 & ".exe")
Dim n
n = fso.GetParentFolderName(f.Path)
Set objXLApp = CreateObject("Excel.Application")
objXLApp.Visible = True
objXLApp.Workbooks.Open (n & "\" & f1 & "¸ê®Æ®w\" & f1 & ".xls")
End Sub
·q½Ð¨ó§U À³¦p¦ó¤U«ü¥O?
ÁÂÁ«ü¾É ÁÂÁ |
|