G
Guest
Hi,
I'm accessing Word from MATLAB via ActiveX-commands. A document is opened
and now, I want to add another doc.-file (only one page) at the end of the
opened document. Does anyone know which command to use?
These are the commands I use so far in MATLAB, they open an activeX
connection and set the selection point to the document's end:
word = actxserver('Word.Application');
end_of_doc = get(word.activedocument.content,'end');
set(word.application.selection,'Start',end_of_doc);
set(word.application.selection,'End',end_of_doc);
Thanks for any help or comments,
Cannabibal
I'm accessing Word from MATLAB via ActiveX-commands. A document is opened
and now, I want to add another doc.-file (only one page) at the end of the
opened document. Does anyone know which command to use?
These are the commands I use so far in MATLAB, they open an activeX
connection and set the selection point to the document's end:
word = actxserver('Word.Application');
end_of_doc = get(word.activedocument.content,'end');
set(word.application.selection,'Start',end_of_doc);
set(word.application.selection,'End',end_of_doc);
Thanks for any help or comments,
Cannabibal