C
Charles
Am using the following code to do a paste append from one form to another.
It is attached to a button. The clipboard.gettext is from VB, but doesn't
appear to work in VBA.
Any ideas?
Thanks!
Function frmmcrPasteNotesAppendToCSRText()
On Error GoTo frmmcrPasteNotesAppendToCSRText_Err
csrtext.setfocus
csrtext.text = csrtext & vbcrlf & clipboard.gettext
frmmcrPasteNotesAppendToCSRText_Exit:
Exit Function
frmmcrPasteNotesAppendToCSRText_Err:
MsgBox Error$
Resume frmmcrPasteNotesAppendToCSRText_Exit
End Function
It is attached to a button. The clipboard.gettext is from VB, but doesn't
appear to work in VBA.
Any ideas?
Thanks!
Function frmmcrPasteNotesAppendToCSRText()
On Error GoTo frmmcrPasteNotesAppendToCSRText_Err
csrtext.setfocus
csrtext.text = csrtext & vbcrlf & clipboard.gettext
frmmcrPasteNotesAppendToCSRText_Exit:
Exit Function
frmmcrPasteNotesAppendToCSRText_Err:
MsgBox Error$
Resume frmmcrPasteNotesAppendToCSRText_Exit
End Function