Copy and paste/retain destination table formatting

F

FJ

Hi, I’m a VBA novice and I have what might be a very simple problem, but I’m
stumped. Basically, what I want to do is be able to highlight a range of
cells in a table, click into another preformatted table, and paste the data.
However, when the data is pasted into this preformatted table, I want the
data to retain the destination formatting, NOT the source formatting. I
thought I could use something like the following:

Selection.Range.PasteSpecial DataType:=wdPasteText

but even though that does retain the destination table’s styles and
formatting, everything ends up all in one cell, which is not what I want. Is
this something that would be incredibly complicated to do with VBA? Or am I
just missing something obvious?

Thanks in advance for any help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top