Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Insert a line in word from excel
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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Insert word to excel | Excel Discussion (Misc queries) | |||
How do I insert a row between each line of data in Excel? | Excel Discussion (Misc queries) | |||
How do I insert a last updated line in an excel worksheet? | Excel Discussion (Misc queries) | |||
How do I insert manual line breaks in excel? | Excel Worksheet Functions | |||
insert field from Word into Excel | Excel Worksheet Functions |