Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to put a string in the clipboard, to ease the problematic writing to csv or Excel (for me it is a time consuming process, I prefer to send a string full of data via the clipboard, have Excel process it, and repeat this as many times as needed).
I have seen people using the DataObject, but Autocad is stating that this 'user-defined type not defined'.
I think I have to add a reference? But which one? Please help.
Dim myString As String: myString = "Hello, Clipboard"
Dim objectList As DataObject
objectList.SetText myString
objectList.PutInClipboard
Solved! Go to Solution.