有两种方法:1).Application.CutCopyMode = False;(基实规根结底是用API函数)2).用API函数. tmtony,如果您要查看本帖隐藏内容请回复 0fkuPHin.rar Rg3aJT7C.rar Zhuyiwen补充: VB中的相关代码,可以用来参考: Private Declare Function OpenClipboard Lib "user32" (ByVal hWnd As Long) As Long Private Declare Function CloseClipboard Lib "user32" () As Long Private Declare Function EmptyClipboard Lib "user32" () As Long Public Sub JustEmptyClipboard() OpenClipboard (0) EmptyClipboard CloseClipboard End Sub 对ACCESS的VBA也就应该有效吧 |
|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )
GMT+8, 2025-1-10 14:30 , Processed in 0.095583 second(s), 25 queries .
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.