on 2004 Oct 13 8:59 AM
Hello,
I have to read data from an excel file with several worksheets. Function module ALSM_EXCEL_TO_INTERNAL_TABLE does this, but takes always the first worksheet. So I created a copy of the FM to switch to a specific worksheet with a given name. But with everything I tried, I failed. How can I do the switch?
Thanks in advance
Andreas Günther
Request clarification before answering.
For e.g., you wanna activate sheet 'My Sheet'. Statements as below:
CALL METHOD OF workbook 'Worksheets' = worksheet
EXPORTING #1 = 'My Sheet'.
CALL METHOD OF worksheet 'Activate'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
30 | |
9 | |
8 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.