Not really because the logic for doing so isn't different than the logic you'd have to do. (So no efficiency gain would be made)

The method we'd have to do is to go through every cell in the workbook finding the ones with that value. This isn't a very efficient thing to do. Doing it with the high level API isn't really slower for this. So the short answer: no, iterate through them until you find it.

-Andy


Peter Boivin wrote:

I am working with a pre-existing excel file. I need to find a header for a
column (ex. "Receiving"). The problem is that the header may not be on the
first row of the excel file. I won't know the row number or the column
number. Is there a way to search for a string value using poi that will
return to me the row and column of the string value?

Kindly,
Peter





--
To unsubscribe, e-mail: <mailto:poi-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:poi-user-help@;jakarta.apache.org>




--
To unsubscribe, e-mail:   <mailto:poi-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:poi-user-help@;jakarta.apache.org>

Reply via email to