![]() |
|
#1
|
|||
|
|||
|
I have a listbox with items . Now I want to copy the items as a list and paste to the word document. I can not select the listbox all item as string. Code:
Dim strClipText As DataObject 'Dim strInputText As String 'Set strClipText = New DataObject ' 'strInputText = listbox1.text ' 'strClipText.SetText strInputText 'strClipText.PutInClipboard |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
copy and paste Outlook Email bodytext to Word document
|
eYos | Word VBA | 1 | 08-25-2015 09:41 PM |
| How can I let my users copy and paste into a protected Word Document? | moden9999 | Word | 4 | 02-02-2015 05:39 PM |
Moving Selected Items from a Multiselect Listbox on a userform to a bookmark in Word
|
marksm33 | Word VBA | 3 | 01-15-2015 07:55 PM |
Getting mult resps. selected in listbox to concatenate & paste at a bookmark in Word
|
marksm33 | Word VBA | 3 | 01-15-2015 05:59 PM |
| copy from web and paste in a word document : no images are shown | Ron Wolpa | Word | 5 | 09-11-2013 02:16 AM |