RAFA BRAVO Active Member Licensed User Longtime User Aug 6, 2022 #1 Is there a way to know if a sheet exists in an excel workbook? And if it doesn't exist, create it. thanks.
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 Aug 6, 2022 #2 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
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
RAFA BRAVO Active Member Licensed User Longtime User Aug 7, 2022 #3 thanks, it works perfect Upvote 0