Copy and paste

F

Flemming Dahl

Hi all

In Word 2000 when I made a copy and paste using vba from one document to
another the Style was copied with the text......

The style is not copied with the text in XP...... Can somebody tell me why ?
and how to get around it ?

Thanks,
Flemming
 
P

pre

Options.SmartCutPaste = True
Set myDoc = Documents.Add
With myDoc
.Content.InsertAfter("The brown quick fox")
.Words(2).Cut
.Characters(10).Paste
 
F

Flemming Dahl

Hey pre

I can't see this code doing anything - are you answering on another question
?

When copy and paste between documents the style was copied to the "paste"
document if the style didn't exists there. This is what my quistion is
about.

Cheers,
Flemming
 

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