A
ACFalcon
I am needing help with working on a Word document from vb.net 2003. I need
to insert images into a word document at certain places in the text (using
VBA). I have tried using the code below, but I only get an unrecognizable
character where the image should be. Does anyone have any ideas of what I
can do?
oDoc.Sections.Add()
oDoc.Sections(a).Range.InlineShapes.AddPicture(FileName:=<<ImagePath>>,
LinkToFile:=True, SaveWithDocument:=True,Range:=oDoc.Sections(a).Range)
**I have tried this with the LinkToFile value as both True & False.
I know the image will insert correctly because I can insert it into the
documents using this code, but of course this code inserts it over the text
at the very first of the document.
oDoc.Sections.Add()
oDoc.Shapes.AddPicture(FileName:=<<ImagePath>>)
Please help!
Thanks,
Adam
to insert images into a word document at certain places in the text (using
VBA). I have tried using the code below, but I only get an unrecognizable
character where the image should be. Does anyone have any ideas of what I
can do?
oDoc.Sections.Add()
oDoc.Sections(a).Range.InlineShapes.AddPicture(FileName:=<<ImagePath>>,
LinkToFile:=True, SaveWithDocument:=True,Range:=oDoc.Sections(a).Range)
**I have tried this with the LinkToFile value as both True & False.
I know the image will insert correctly because I can insert it into the
documents using this code, but of course this code inserts it over the text
at the very first of the document.
oDoc.Sections.Add()
oDoc.Shapes.AddPicture(FileName:=<<ImagePath>>)
Please help!
Thanks,
Adam