Hi all
I am trying to copy text from my text box into a clipboard but seem to be running into an Active X error any suggestions?
Thanks in advance
I am trying to copy text from my text box into a clipboard but seem to be running into an Active X error any suggestions?
Code:
Me.TxtReportText.SetFocus
Dim DataObj As Object
Set DataObj = CreateObject("MSForms.DataObject")
DataObj.SetText Me.TxtReportText.Value
DataObj.PutInClipboard
Thanks in advance