M
M
Martyr12020-10-12 17:43:18
C++ / C#
Martyr1, 2020-10-12 17:43:18

How to transfer a picture first to an Excel cell, and then transfer it using a macro to a field or object control in Word?

There are files with pictures, they need to be added to the word document template, the word template is filled using an excel macro and the output is a word document.
Tell me:
1. How to transfer 40+ pictures to excel cells
2. How should the code look like to transfer an image from excel to a word field / control

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Titov, 2016-02-18
@volersawns

Well, this is how it (the console in Windows) is arranged ... The correct output of 2-byte characters will be the WriteConsoleW system call. If you want to use output via streams, you will have to write your own. At the same time, for more fun, do not forget to consider the possibility of redirecting the output of the program to a file.

B
BasiC2k, 2020-10-13
@BasiC2k

With saving pictures from Excel sheets, everything is very sad.
If possible, it's better to insert pictures directly into Word with a macro from Word.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question