인터넷에서 찾아보니 엑셀에선 다음과 같이 사용하라고 되어있습니다. 워드도
그리 다르진 않을듯 합니다만... 사정상 제가 테스트는 못해보았습니다.
테스트 해보시고 결과를 올려주시면 좋을듯 합니다.
ExcelWorksheet1.ExcelWorksheet.Shapes.AddPicture(
'C:\MyBitmap.bmp', // filename
msoFalse, // LinkToFile (True = make link to file, False = make copy of the file in document)
msoCTrue, // SaveWithDocument (must be True if LinkToFile is False)
10, // Left
10, // Top
300, // Width
300); // Height
출처 : http://www.winsoft.sk/officfaq.htm
google에서 "WordApplication AddPicture"로 찾으니 많이 나오더군요.
참고하시길..
|