Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions Editing Excel cells/Replace/.NET/Replace/Replace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@ Step 2: Name the project.
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).

Step 4: Include the following namespaces in the **Program.cs** file.
{% tabs %}
{% highlight c# tabtitle="C#" %}
```csharp
using Syncfusion.XlsIO;
{% endhighlight %}
{% endtabs %}
```

Step 5: Include the below code snippet in **Program.cs** to replace all occurrences of text with different data.
{% tabs %}
{% highlight c# tabtitle="C#" %}
```csharp
using (ExcelEngine excelEngine = new ExcelEngine())
{
IApplication application = excelEngine.Excel;
Expand Down Expand Up @@ -45,5 +42,4 @@ using (ExcelEngine excelEngine = new ExcelEngine())
workbook.SaveAs(stream);
stream.Dispose();
}
{% endhighlight %}
{% endtabs %}
```
Loading