Hello,
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Is there anyway that I can check for the existence of worksheet (by name) prior to creating a new worksheet?
Thanks.
Hello,
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Is there anyway that I can check for the existence of worksheet (by name) prior to creating a new worksheet?
Thanks.
Hi,
Thanks for your posting and using Aspose.Cells for .NET.
Please use Worksheet.Name property to get the worksheet name.
You can use foreach loop for this purpose.
Please see the code below.
C#
Thanks unfortunately this does not work as the worksheet is still being created at this point.
Hi,
Here is another way.
C#