O
oliver
Hi,
Hope you can help please.
I've inherited some code that uses the .copy method of the range
object in Excel (2003) to copy text to the windows (XP Pro)
clipboard. It then uses Word's PasteAndFormat method of a range
object with arguments Type:=wdFormatPlainText.
It works fine with just a single line of text but if the text includes
a hard return character created by pressing Alt+Enter in Excel, then
the pasted text is appear in quotation marks in the Word doc.
Does anyone know how to prevent this please.
thanks Oliver
Hope you can help please.
I've inherited some code that uses the .copy method of the range
object in Excel (2003) to copy text to the windows (XP Pro)
clipboard. It then uses Word's PasteAndFormat method of a range
object with arguments Type:=wdFormatPlainText.
It works fine with just a single line of text but if the text includes
a hard return character created by pressing Alt+Enter in Excel, then
the pasted text is appear in quotation marks in the Word doc.
Does anyone know how to prevent this please.
thanks Oliver