Hello,
I have a macro that copies a range of cells (I can’t create it as a table, because some cells are merged) and pastes it to a Word. I can’t paste it as image neither because it needs to be able to be modified later in Word.
I want it to keep the columns width, it works fine except when a cell contains a text larger than the width of the cell (with distributed alignment i excel), as when it is pasted to word, the column modifies its width to keep the text in just one line.
I have tried different options, like objWord.Selection.PasteSpecial xlPasteColumnWidth or objWord.Selection.PasteAndFormat (wdFormatOriginalFormatting), but none works as i want.
I have tried manually and what i need is to to paste like “link & keep source formatting”
Any ideas?
Thanks
Apologies if there are some mistakes, English is not my mother tongue
I have a macro that copies a range of cells (I can’t create it as a table, because some cells are merged) and pastes it to a Word. I can’t paste it as image neither because it needs to be able to be modified later in Word.
I want it to keep the columns width, it works fine except when a cell contains a text larger than the width of the cell (with distributed alignment i excel), as when it is pasted to word, the column modifies its width to keep the text in just one line.
I have tried different options, like objWord.Selection.PasteSpecial xlPasteColumnWidth or objWord.Selection.PasteAndFormat (wdFormatOriginalFormatting), but none works as i want.
I have tried manually and what i need is to to paste like “link & keep source formatting”
Any ideas?
Thanks
Apologies if there are some mistakes, English is not my mother tongue