You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# How to delete hyperlinks from worksheet without affecting the cell styles?
2
+
Step 1: Create a new C# Console Application project.
3
+
4
+
Step 2: Name the project.
5
+
6
+
Step 3: Install the [Syncfusion.XlsIO.Net.Core](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core) NuGet package as reference to your .NET Standard applications from [NuGet.org](https://www.nuget.org).
7
+
8
+
Step 4: Include the following namespaces in the **Program.cs** file.
9
+
{% tabs %}
10
+
{% highlight c# tabtitle="C#" %}
11
+
using System.IO;
12
+
using Syncfusion.XlsIO;
13
+
{% endhighlight %}
14
+
{% endtabs %}
15
+
16
+
Step 5: Include the below code snippet in **Program.cs** to delete hyperlinks from worksheet without affecting the cell styles.
17
+
{% tabs %}
18
+
{% highlight c# tabtitle="C#" %}
19
+
using (ExcelEngine excelEngine = new ExcelEngine())
20
+
{
21
+
IApplication application = excelEngine.Excel;
22
+
application.DefaultVersion = ExcelVersion.Xlsx;
23
+
FileStream inputStream = new FileStream("Data/InputTemplate.xlsx", FileMode.Open, FileAccess.Read);
0 commit comments