vba»yªkY±ý¨ú±o¤w¶}¤§*.xlsÀɪºÀɦW
- ©«¤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
|
vba»yªkY±ý¨ú±o¤w¶}¤§*.xlsÀɪºÀɦW
½Ð±Ð¦U¥ý¶iª©¤j:
Y±ý¨ú±o¤w¶}¤§*.xlsÀɪºÀɦW(¦p"µn¿ý.xls" ¥»¨¬°activeª¬ºA¤¤ªº"µn¿ý")
vba»yªk¦p¦ó?
vb¤¤¤§»yªk¬O§_¬Û¦P?
ÁÂÁ¨ó§U |
|
|
|
|
|
|
- ©«¤l
- 1572
- ¥DÃD
- 16
- ºëµØ
- 2
- ¿n¤À
- 1521
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2016-1-13
|
MsgBox ActiveWorkbook.Name |
|
|
|
|
|
|
- ©«¤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
|
¦^´_ 2# oobird
Sub Main()
Dim objXLApp
Dim objXLBook
Dim fso, f As Object
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFile("µn¿ý.xls")
Dim n
n = fso.GetParentFolderName(f.Path)
Set objXLApp = CreateObject("Excel.Application")
objXLApp.Visible = True
Set objXLBook = objXLApp.Workbooks.Open(n & "\µn¿ý.xls")
Set objXLBook = Nothing
' objXLApp.Quit
Set objXLApp = Nothing
Set fso = Nothing
Set n = Nothing
Set f = Nothing
End Sub
½Ð±Ð¤j¤j
±ý±N¦¹vbÂର*.exeÀÉ
¹Ú·Q*.exe¤¤ªº*¥i¨ú¬°¥ô¦ó¦r¤¸¤§«á¡A"µn¿ý"Y¬°ÅܼÆam am=*
«h*.exe»P*.xls¥un¨ú¦PÀɦW§Y¥i
¬GÀ³¦p¦ó¨ú±o¥»¨¶}ÀÉ*.exeªº* |
|
|
|
|
|
|
- ©«¤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
|
¤w¦bVB°Ï±o¨ì¸Ñ¨M
·P¿E¤j®a |
|
|
|
|
|
|