ByteScout Spreadsheet SDK - VB.NET - Unicode Text - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout Spreadsheet SDK – VB.NET – Unicode Text

  • Home
  • /
  • Articles
  • /
  • ByteScout Spreadsheet SDK – VB.NET – Unicode Text

ByteScout Spreadsheet SDK – VB.NET – Unicode Text

Module1.vb

Imports System
Imports System.Collections.Generic
Imports System.Text
Imports Bytescout.Spreadsheet
Imports System.Diagnostics
Imports System.IO

Module Module1

    Sub Main()
        ' Create new XLSDocument
        Dim document As New Spreadsheet()

        ' Move page
        Dim worksheet As Worksheet = document.Workbook.Worksheets.Add()

        ' Set unicode text
        worksheet.Cell(0, 0).Value = "???"


        ' remove output file if already exists
        If File.Exists("Output.xls") Then
            File.Delete("Output.xls")
        End If

        ' Save document
        document.SaveAs("Output.xls")

        ' Close Spreadsheet
        document.Close()

        ' open in default spreadsheets viewer/editor
        Process.Start("Output.xls")
    End Sub

End Module


  Click here to get your Free Trial version of the SDK

Tutorials:

prev
next