Perhaps you could make your code along with an example worksheet available in a publicly accessible (git) repo.
It would be easier for someone to reproduce and debug the issue...assuming the answer that has already been provided is not applicable or unclear. Otherwise, folks will have to help an issue or two at a time which will not be very efficient and a bit frustrating. If the screen capture is still current, it appears that you're missing the import for the Sheet class. From the Source menu, you can use "Fix imports" to add the needed import statement(s). It's hard to tell if/where "workbook" is declared but it appears to be undefined or out of scope. On Mon, May 31, 2021 at 6:56 PM Zulfi Khan <zulfi6...@yahoo.com.invalid> wrote: > > Hi, > I have sent my question to apache poi list but no body is replying. Please > tell me the correct email address. > > Zulfi. > On Sunday, May 16, 2021, 7:11:38 PM CDT, Andreas Reichel < > andr...@manticore-projects.com> wrote: > > > Hello Zulfi. > > On Mon, 2021-05-17 at 00:06 +0000, Zulfi Khan wrote: > > Sheet sheet = workbook.getSheetAt(); > > > The Sheet Index is missing when calling getSheetAt( ****** ); > Also this is the Netbeans list and you will better ask any question on the > Apache POI list. > > Best regards > Andreas > > -- Carl J. Mosca -- Regards, Carl