Android Question How to RemoveSheet by SheetName in xls library

cambol

Active Member
Licensed User
How to RemoveSheet by SheetName in xls library ?
wkb2.RemoveSheet only can removeSheet by index .

I want to remove some sheets , if I use wkb2.RemoveSheet , the index of sheet will change every time . So how can I do or can I removesheet by sheetname ?
 

DonManfred

Expert
Licensed User
Longtime User
iterate through all sheets to get the right index to remove
B4X:
Workbook.GetSheetNames
 
Upvote 0
Top