May 2019
Beginner to intermediate
548 pages
12h 39m
English
In the case of Microsoft Word, we will focus only on writing values to the file due to the fact that reading from a Microsoft Word document is not especially interesting or useful. Word documents can have infinite numbers of layouts. It's much easier to work with structured Excel, where we always expect rows and columns, than with Word, where the table can have any format.
Create a new program, ZMSA_R_CHAPTER4_7, and copy the report pattern from Appendix A, Assessments. Add an obligatory INCLUDE statement to the OLE type-pool just before the class definition:
INCLUDE ole2incl.
Declare a few variables in the main method:
DATA: lo_word TYPE ole2_object.DATA: lo_doc TYPE ole2_object. DATA: lo_selection TYPE ole2_object ...Read now
Unlock full access