I have this code taken from a previous post which works perfectly.
What i would really like, is to amend this so it only copies the Dialog boxes that are open (usually Keystroke Ctrl+PrintScreen).
Help would be appreciated
Code:
Option Explicit
Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
Public Const VK_SNAPSHOT = &H2C
Sub PrintScreen()
keybd_event VK_SNAPSHOT, 0, 0, 0
End Sub
What i would really like, is to amend this so it only copies the Dialog boxes that are open (usually Keystroke Ctrl+PrintScreen).
Help would be appreciated