Creating a "WORD" document in ASP
I am creating a "Word" document in ASP 3.0.
I need help to insert a "Picture - gif file" at the bottom of the document.
I tried the following codes;
dim oWord, oDoc, rangeBold
Set oWord = CreateObject("word.application")
oWord.Application.Visible = true
Set oDoc = oWord.Documents.Add()
' Creating a new paragraph
Set rangeBold = oDoc.Paragraphs.Add.Range
rangeBold.font.bold = True
rangeBold.font.size = 11
rangeBold.font.name = "Arial"
' Inserting a "Picture' file.
It inserts the "Picture" file on the top of the document, which is correct. Because I didn't specify a certain paragraph range for the picture file. But, I don't know the syntax.
I also need a syntax for "Full justify".
Thanks for your help,
Love all the creatures because of the creator.