Hi all,
Does anyone can provide source code or any helpful source that can help me to insert picture into microsoft exel 2000 by using microsoft visual C++ 6.
use the ActiveX object Excel.Sheet, this is a pseudocode, you will transform it into OLE calls, all yourSheet/Pictures are IDispatch interfaces, so look in OleView what are exactly the dispid of methods you use:
Pictures* x;
x = yourSheet->Pictures();
x->Insert(
"G:\Documents and Settings\Administrator\My"
"Documents\My Pictures\007_SHINING_IT.jpg"
);
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.