Hi!
oWord = createobject("Word.Application")
...
oWord.Selection.InlineShapes.AddPicture("C:\vms\001-VAN.M-15030-SMALL.GIF", .F., .T.)
You can get a help on each object, property and method in the Word - run the Visual basic edotir from tools->Macro menu, then open some code and press F1 key. If developer help installed, you will get it, if not, you have to get a help page describing how to install it.
HTH.
>THats what i thought
>
>heres the word basic macro that i recorded but i dont see how to adapt it.!
>
>
>Sub Macro1()
>'
>' Macro1 Macro
>' Macro recorded 17/09/01 by Colin Burton
>'
> Selection.InlineShapes.AddPicture FileName:= _
> "C:\vms\001-VAN.M-15030-SMALL.GIF", LinkToFile:=False, SaveWithDocument:= _
> True
>End Sub
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.