View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
rog rog is offline
external usenet poster
 
Posts: 39
Default Insert a line in word from excel

Not sure what kind of object your wrdDoc is, but you could
try :

wrdDoc.TypeParagraph

(I just recorded this in word)

Rgds

Rog

-----Original Message-----
I am using Office 97, I am in the process of writing code

which exports
pictures form excel to word with the following code

With wrdDoc

.Content.PasteSpecial Link:=False,
DataType:=wdPasteMetafilePicture, _
Placement:=wdFloatOverText,

DisplayAsIcon:=False

End With

But I can't get WORD to move down a line leaving the

picture where it has
been pasted so I can paste the next picture in!

I have tried

Selection.EndKey Unit:=wdStory

but it doesn't work

Can anyone assist, please?


--
Mark
.