I would like to find the documentation about the Functions (and arguments of its) to write complex Excel and word documents.



It's very important for me...



Thanks in advance

Dimitri JADIN
Analyste programmeur
BEA S.A.
Li�ge Science Park
All�e des Noisetiers, 12 B-4031 Angleur
T�l. : + 32 4 - 361.62.77
Fax : + 32 4 - 361.28.58
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
http://www.beasensors.com <http://www.beasensors.com/
RPM Liege
TVA BE 0419.044.453



________________________________

De : Jacob Hjelmer Nielsen [mailto:[EMAIL PROTECTED]
Envoy� : lundi 7 f�vrier 2005 13:24
� : [email protected]
Objet : RE: [development-axapta] To Open any file



You can access Word/Excel etc. through COM, please see the example below:

COM comAppl;
COM comDocuments;
COM comDocument;
COM comRange;
#define.Word('Word.Application')
#define.Normal('Normal.dot')


comAppl = COM::getObject(#Word);
if (! comAppl)
    comAppl = new COM(#Word);

comAppl.visible(true);
comDocuments = comAppl.documents();
comDocument  = comDocuments.add(#Normal);
comRange     = comDocument.range();
comRange.insertAfter("Some text written from Axapta");
comDocument.saveAs("MyDocument",0,false,'',false);
comDocument.close();



:-J

Systemdeveloper
Jacob Hjelmer

Thy Data Center Development A/S
S�vej 13b
DK-3460 Birker�d
Denmark

Phone : +45 96 170 470
Fax   : +45 45 824 544

URL   : http://development.thydatacenter.dk/ <blocked::http://development.thydatacenter.dk/
E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

________________________________

From: Shruti [mailto:[EMAIL PROTECTED]
Sent: 7. februar 2005 06:30
To: [email protected]
Subject: [development-axapta] To Open any file


----------------------------------------- (on india.euroinfosys.com)

email-body was scanned and no virus found
email-body was scanned and no virus found
---------------------------------------------------------

  ----------

Is there any method that can help me to open any kind of file say MS- word or excel file thru Axapta?
Wht if I have to write data to this file.

Regards::
Shruti Jain
Euroinfo Systems Pvt. Ltd.
C-126, Sector - 2
Noida - 201301 (U.P.)
Phone :- +91-120-2520414



[Non-text portions of this message have been removed]






________________________________

Yahoo! Groups Links
*      To visit your group on the web, go to:
      http://groups.yahoo.com/group/development-axapta/
       
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
       
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .


[Non-text portions of this message have been removed]




________________________________

Yahoo! Groups Links

*      To visit your group on the web, go to:
      http://groups.yahoo.com/group/development-axapta/
       
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
       
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .


*********************************************************************************
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the addressee, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you have received this transmission in error please notify the sender immediately and then delete this e-mail.

E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard copy version.
*********************************************************************************




[Non-text portions of this message have been removed]





Yahoo! Groups Sponsor
ADVERTISEMENT


Yahoo! Groups Links

Reply via email to