We have a program that creates a form letter using Microsoft Word, what we need to do is add a image to the header section of the letter. I have tried all that I can to make this happen but can't seem to find the correct logic. Below is a snip of code that I have made work to add an image to the top of the letter but this is NOT in the header section as I need it to be...Thanks for any help!
MODIFY wrdSelection Goto(wdGoToLine, wdGoToFirst).
MODIFY wrdSelection ParagraphFormat::Alignment =
wdAlignParagraphCenter.
MODIFY wrdDoc Shapes::AddPicture(
BY NAME @FileName
"c:\\download\\letter_logo.jpg").