A
Alex Ivanov
Hi All,
Does anybody know a better way to insert a picture from memory into a Word
document?
The best solution I have so far is to put the content of a StdPicture on the
Clipboard and then PasteSpecial it into a Range and resize as needed. This
works most of the time, though it's slow; however if a user does something
else while report is being generated, the chances are she would use the
Cliboard for something else, and then the problem guaranteed.
I tried using MSForms.Image instead, but it is much slower and the size of
the resulting document is much larger.
Pictures are generated at run-time and exist only in memory. I don't want to
save them into a file and then AddPicture() them from the file expecting
that it will be even slower than Paste.
All suggestions are welcome.
Thank you.
Does anybody know a better way to insert a picture from memory into a Word
document?
The best solution I have so far is to put the content of a StdPicture on the
Clipboard and then PasteSpecial it into a Range and resize as needed. This
works most of the time, though it's slow; however if a user does something
else while report is being generated, the chances are she would use the
Cliboard for something else, and then the problem guaranteed.
I tried using MSForms.Image instead, but it is much slower and the size of
the resulting document is much larger.
Pictures are generated at run-time and exist only in memory. I don't want to
save them into a file and then AddPicture() them from the file expecting
that it will be even slower than Paste.
All suggestions are welcome.
Thank you.