0

I'm trying to export several tables to an Excel file using OLE.

Right now, I'm developing the hole file (merging cells, borders, shades, places, etc..).

But I already have an empty file. Is it possible to use OLE to pass the data to the right places of an existing excel file?

Thank you.

1 Answer 1

1

I've found the answer. Needed to use this:

* Start the application
  create object e_appl 'EXCEL.APPLICATION'.
  set property of e_appl 'VISIBLE' = 1.

* Open the file
  call method of e_appl 'WORKBOOKS' = e_work.

  call method of e_work 'OPEN'
          exporting
               #1 = p_file.

Thank you.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.