D danchovasilev Member Feb 18, 2025 #1 how to add a new sheet if the file already exists, and if it doesn't exist create a new one and add it
how to add a new sheet if the file already exists, and if it doesn't exist create a new one and add it
Erel B4X founder Staff member Licensed User Longtime User Feb 18, 2025 #2 Moved to questions forum. Create a XLWorkbookWriter with XL.CreateWriterBlank (new file) or XL.CreateWriterFromTemplate (existing file). Then use CreateSheetWriterByName to add a new sheet. Upvote 0
Moved to questions forum. Create a XLWorkbookWriter with XL.CreateWriterBlank (new file) or XL.CreateWriterFromTemplate (existing file). Then use CreateSheetWriterByName to add a new sheet.