Hi Experts,
I'm getting below error "Worksheet position out of range" while reading data from excel file from Azure storage.
error line number error causing.
Thank you in advance
Hi Koti9999,
Does the stream variable has a valid Excel workbook?
Hi Andre,
yes it contains valid workbook.
please help on this.
Thanks
Hi Koti999,
how did you determine that the stream contains a valid Excel workbook?
If there is a single worksheet, it's index is 0 (not 1), isn't it?
I think the value should be 0 instead of 1 in the get_item().
Should be get_item(0). Please try and see.
Hi Yuvan,
tried with get_item(0)..no luck, same error ..
is there any issue with my stream? this is how i'm downloading azure file and capturing to target stream.and from the stream i'm reading excel data.
Correct me if I'm wrong, but it seems to me that you don't want for the download to complete, therefore the file content doesn't have to be downloaded in full when you're trying to import it.
Also, if you want to see what's inside the stream, why don't you into the file and take a look?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 753
André Arnaud de Cal... 752 Super User 2025 Season 2
Sohaib Cheema 534 User Group Leader