Products Downloads


French version


 

NUM_BIN_4

ReturnCode

 

 

/* Inserting a full Microsoft Word file to replace the current range.

CALL_METHOD WORD_CLIENT RNG_INSERT_FILE 'd:\doc\InsertFile.doc' *BLANK -

*FALSE *FALSE *FALSE ReturnCode

 

 

/* Inserting portion of a Word file to replace the current range.

/* Only the text contained in the bookmark and the bookmark itself are inserted.

/* 'Bookmark1' is a bookmark of the 'InsertFile.doc' file.

CALL_METHOD WORD_CLIENT RNG_INSERT_FILE 'd:\doc\InsertFile.doc' -

'Bookmark1' *FALSE *FALSE *FALSE ReturnCode

 

 

/* Inserting a .RTF file, the user confirming conversion.

CALL_METHOD WORD_CLIENT RNG_INSERT_FILE 'd:\doc\File.rtf' 'Bookmark1' *TRUE -

*FALSE *FALSE ReturnCode

 

 

/* Inserting portion of a Microsoft Excel file (range A3:G6, sheet 'Annual Figures').

CALL_METHOD WORD_CLIENT RNG_INSERT_FILE 'd:\doc\Workbook.xls' -

'Annual Figures !A3:G6' *FALSE *FALSE *FALSE ReturnCode

 

 

Back

 

↑ Top of page

  • Aucune étiquette