首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VB >

如何在word 中开发一个VBA能够copy屏幕

2012-02-21 
怎么在word 中开发一个VBA能够copy屏幕怎么在word中开发一个VBA能够copy屏幕[解决办法]Private Declare Su

怎么在word 中开发一个VBA能够copy屏幕
怎么在word   中开发一个VBA能够copy屏幕

[解决办法]
Private Declare Sub keybd_event Lib "user32 " (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)

Sub PrintScreen()
keybd_event &H2C, 1, 0, 0
Selection.Paste
End Sub

热点排行
Bad Request.