usmanazizgroupdocs
7/5/2017 - 6:24 AM

RemoveHyperlinksExcel.vb

' For complete examples and data files, please go to https://github.com/groupdocs-watermark/GroupDocs.Watermark-for-.NET
Using doc As CellsDocument = Document.Load(Of CellsDocument)(Utilities.MapSourceFilePath(FilePath))
    ' Replace hyperlink
    doc.Worksheets(0).Charts(0).Hyperlink = "https://www.aspose.com/"
    doc.Worksheets(0).Shapes(0).Hyperlink = "https://www.groupdocs.com/"

    ' Remove hyperlink
    doc.Worksheets(1).Charts(0).Hyperlink = Nothing
    doc.Worksheets(1).Shapes(0).Hyperlink = Nothing

    doc.Save()