Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我无法找到有关创建用于启动外部程序的 MS Access GUI 宏 (VB) 的信息。
建议?
使用Shell()功能:
Shell()
result = Shell("C:\My\Program\To\Run.exe")
请参阅此处了解更多信息。
WScript.Shell提供另一种选择:
WScript.Shell
Dim wshShell Set wshShell = CreateObject("WScript.Shell") wshShell.Exec "CALC.EXE" Set wshShell = Nothing