Skip to Content
0
Former Member
Oct 05, 2005 at 11:49 AM

Create a Checkbox in a Word Document (OLE2)

254 Views

Hi @all,

I want to create a WORD Document with ABAP. I created an OLE2 Object and now I want to generate a Checkbox in the WORD Document. My Syntax is the following:

DATA: o_word TYPE ole2_object.

  CREATE OBJECT o_word 'Word.Basic'.

  CALL METHOD OF o_word 'FileNew'
    EXPORTING
    #1 = 'normal.dot'.
         
  CALL METHOD OF o_word 'AppShow'.

  CALL METHOD OF o_word 'CHECKBOX'.

Now my Problem is, that the CheckBox doesn't appear and I really don't have any information about what Parameters the Method 'CHECKBOX' (Word.Basic) needs.

Can anyone help me to create a CheckBox in a WORD Document and further where I can get some information about what Parameters the Word.Basic Methods need.

Thanks a lot...

Christian

Message was edited by: Christian Kremer