B4J Question [SOLVED] XLUtils / JPOI5 Create excel sheet if it does not exist.

RAFA BRAVO

Active Member
Licensed User
Longtime User
Is there a way to know if a sheet exists in an excel workbook? And if it doesn't exist, create it. thanks.
 

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
hi!
yes you can use this line:

wb is a XlWorkbookWriter class
B4X:
wb.PoiWorkbook.GetSheetNames
this will return the names of all the sheets within the workbook
 
Upvote 1
Top