HTSCF Fareha
12-15-2020, 02:04 AM
I have been trying to find a resource that provides all the various PasteSpecial options without any success.
I'm particularly interested in finding out how to paste from Excel into Word (data already stored in clipboard) so that it will only paste in the actual values, any bold text, no cell border lines(?), maintain the column widths and not expand the data to fit across the whole width of the Word document.
For information the pasted data will be going into a RichText box Content Control object ("TextBox3").
A bit of a shopping list of requirements, but I hope that this is possible!
Thanks!
wdDoc.SelectContentControlsByTitle("TextBox3").Item(1).Range.PasteSpecial xlPasteColumnWidths
I'm particularly interested in finding out how to paste from Excel into Word (data already stored in clipboard) so that it will only paste in the actual values, any bold text, no cell border lines(?), maintain the column widths and not expand the data to fit across the whole width of the Word document.
For information the pasted data will be going into a RichText box Content Control object ("TextBox3").
A bit of a shopping list of requirements, but I hope that this is possible!
Thanks!
wdDoc.SelectContentControlsByTitle("TextBox3").Item(1).Range.PasteSpecial xlPasteColumnWidths