Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Excel Ole problem

Former Member
0 Likes
496

I want to use the the OpenText method of the workbooks collection in Excel.

This method expects an array for the method parameter FieldInfo.

How do i pass an array to this parameter from ABAP ?

2 REPLIES 2
Read only

Former Member
0 Likes
452

Hi,

currently i have the same problem.

Did you find a solution?

thanks

Bernd

Read only

Former Member
0 Likes
452

Hi,

Is this what you want

  • open file in Excel

IF application-header = space OR application-handle = -1.

CREATE OBJECT application 'Excel.Application'.

m_message.

ENDIF.

CALL METHOD OF application 'Workbooks' = workbooks.

  • Open the Excel file

CALL METHOD OF workbooks 'Open' EXPORTING #1 = filename.

This will open the workbook.

regards,

theja.