动态添加引用示例: On Error Resume Next Dim REF As Reference Dim strfilename As String strfilename = "c:\program files\common files" & _ "\system\ado\msado21.tlb" 路径由引用窗体获得 Set REF = Application.References.AddFromFile(strfilename) 必须加APPLICATION MsgBox REF.Name & "已经被引用完毕" 获得应用名称的途径 动态删除引用示例: |
|站长邮箱|小黑屋|手机版|Office中国/Access中国
( 粤ICP备10043721号-1 )
GMT+8, 2025-4-4 05:20 , Processed in 0.057758 second(s), 17 queries .
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.