½Ð±Ð½Ñ¦ì¤j¤j
¦³Äévb6µ{¦¡ «o¤£·|±N¤U¦C±Ò°Ê±M®× Âର *.exeÀÉ
Sub Main()
Dim f1
f1 = App.EXEName
Dim fso, f As Object
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFile(f1 & ".xls")
Dim n
n = fso.GetParentFolderName(f.Path)
Set objXLApp = CreateObject("Excel.Application")
objXLApp.Visible = True
Set objXLBook = objXLApp.Workbooks.Open(n & "\" & f1 & ".xls")
Set objXLBook = Nothing
Set objXLApp = Nothing
Set fso = Nothing
Set n = Nothing
Set f = Nothing
End Sub
½Ð¤j¤j¨ó§U ÁÂÁÂ