Save formatted text

P

Per

Hi there.

Anoine who know a smart method to select a cell inside a
table, and copy the text into an area where the formatting
survive. I can not use the clipboard.
Please!

Per
 
H

Helmut Weber

Hi Per,
like this, only to demonstrate the principle:
---
Dim r As Range
With ActiveDocument.Tables(1).Cell(1, 5)
Set r = .Range.FormattedText
r.End = r.End - 1
Selection.Range.FormattedText = r
End With
 

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