Monday, 15 July 2013

How to delete an excel worksheet programmatically VB.NET -


I tried to permanently remove a worksheet from the Excel workbook, though it is not working as expected ,

  CType (oWB1.Sheets ("ABC"), Excel.Worksheet). Delete ()   

What's wrong with this?

  oWB1. DisplayLetter = Wrong OWB 1 Sheet ("ABC"). Remove OWB1. Application DisplayLetter = True    

No comments:

Post a Comment