Insert a line in word from excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
Not sure what kind of object your wrdDoc is, but you could
try :

wrdDoc.TypeParagraph

(I just recorded this in word)

Rgds

Rog
 
Back
Top