Quantcast
Channel: NPOI
Viewing all articles
Browse latest Browse all 1621

New Post: Removing Hyperlink

$
0
0

Dear NG,

I'm trying to remove a hyperlink from a cell, but assigning null to a cell.hyperlink will raise an "System.NullReferenceException"

I also tried to assign a new hyperlink with adress value as an empty string, but this also leads to the same error. By now I set an URL-type hyperlink with the address "#", but it's not exactly what I wanted to do. Is there any other way to remove the hyperlink?

Kind regards, Thomas


Viewing all articles
Browse latest Browse all 1621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>