O
Ottar Holstad
Hi, if I manually copy something from Excel to Word using Ctrl+C/Ctrl+V, the
result in Word looks good. If I do the same in code, using [...]
Selection.Paste, the result in Word looks less good. I have noticed that if
I, when copying manually, use paste special and Rich Text Format, the result
in Word looks the same as when using [...] Selection.Paste in code. If I use
paste special and HTML when copying manually, it looks good. So, I figured
that I should try to use [...] Selection.PasteSpecial(....) in code.
However, when doing so I just get the message "The specified data type is
unavailable". How come? Is Word/Excel doing something special with the
clipboard? If so, could I do that too?
result in Word looks good. If I do the same in code, using [...]
Selection.Paste, the result in Word looks less good. I have noticed that if
I, when copying manually, use paste special and Rich Text Format, the result
in Word looks the same as when using [...] Selection.Paste in code. If I use
paste special and HTML when copying manually, it looks good. So, I figured
that I should try to use [...] Selection.PasteSpecial(....) in code.
However, when doing so I just get the message "The specified data type is
unavailable". How come? Is Word/Excel doing something special with the
clipboard? If so, could I do that too?