We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Originally posted by alexandretperez November 12, 2021 Hi all,
I'm trying to remove an hyperlink from a cell using the below code:
public void RemoveLink() { var filePath = @"C:\Temp\Book1.xlsx"; var workbook = WorkbookFactory.Create(filePath); var address = new CellReference("A1"); var sheet = workbook.GetSheet("Sheet1"); var cell = sheet.GetRow(address.Row).GetCell(address.Col); ((XSSFSheet)sheet).RemoveHyperlink(address.Row, address.Col); using (var fs = File.Open(filePath, FileMode.Create, FileAccess.Write)) workbook.Write(fs); }
But nothing happens, the hyperlink is still there.
Am I missing something?
The text was updated successfully, but these errors were encountered:
Fix removing hyperlinks
c48d438
This PR closes nissl-lab#690 Unfortunately, I was unable to create a test (help is welcome)
47d9e22
This PR closes #690 Unfortunately, I was unable to create a test (help is welcome)
Successfully merging a pull request may close this issue.
Discussed in #689
Originally posted by alexandretperez November 12, 2021
Hi all,
I'm trying to remove an hyperlink from a cell using the below code:
But nothing happens, the hyperlink is still there.
Am I missing something?
The text was updated successfully, but these errors were encountered: