Skip to Main Content
  • Questions
  • Use Data Loading in APEX to upload a specific tab of an Excel sheet


Question and Answer

Chris Saxon

Thanks for the question, Dick.

Asked: March 15, 2023 - 8:25 pm UTC

Last updated: March 28, 2023 - 2:22 pm UTC

Version: 21.2

Viewed 10K+ times! This question is

You Asked

We want to use the Data Loading functionality of APEX to upload a specific tab of an Excel sheet.

We only found out it the Data Loading function only imports the first tab of the Excel sheet.
We want to upload the second one of the Excel sheet.
What are we missing here?

and Chris said...

Using the Load Data wizard (SQL Workshop -> Utitlies -> Data Workshop) in Settings there's a dropdown where you can "Select Sheet".

For more on this see:


  (3 ratings)

Is this answer out of date? If it is, please let us know via a Comment


Dick, March 16, 2023 - 2:36 pm UTC

Thanks for your quick answer .... I understand the functionality by choosing the Data Workshop functionality, but I mean using the Data Load functionality by using the App Builder. (NOT by the SQL Workshop).
How can we fix it?

Chris Saxon
March 17, 2023 - 4:41 pm UTC

I'm not sure - we're not APEX experts here. I suggest asking on the APEX forum

Manual import

Damian, March 27, 2023 - 2:39 pm UTC

you can create your manual import. Add item with type 'File Browse...' with Storage Type 'Table APEX_APPLICATION_TEMP_FILES' to load Excel to Apex. Then when parsing this Excel use something like
FROM apex_application_temp_files f
                         ,table(apex_data_parser.parse(p_content           => f.blob_content
                                                      ,p_file_name         => f.filename
                                                      ,p_xlsx_sheet_name   =>'sheet name')) p
                   WHERE = :FILE_NAME; 

One of parameter of parse function is sheet name (see: ).
Chris Saxon
March 28, 2023 - 2:22 pm UTC

Thanks for sharing

Dick, April 12, 2023 - 2:38 pm UTC

Thanks for the answers ... it helped me a lot.

More to Explore


Keep your APEX skills fresh by attending their regular Office Hours sessions.