Skip to content

Files

Latest commit

 

History

History

Create spreadsheet with spreadsheet sdk

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 21, 2025
Sep 25, 2019

How to create spreadsheet with spreadsheet sdk in JavaScript with ByteScout Data Extraction Suite

How to write a robust code in JavaScript to create spreadsheet with spreadsheet sdk with this step-by-step tutorial

Source code documentation samples give simple and easy method to install a needed feature into your application. ByteScout Data Extraction Suite: the bundle that includes three SDK tools for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK. It can create spreadsheet with spreadsheet sdk in JavaScript.

Want to quickly learn? This fast application programming interfaces of ByteScout Data Extraction Suite for JavaScript plus the guidelines and the code below will help you quickly learn how to create spreadsheet with spreadsheet sdk. This JavaScript sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Enjoy writing a code with ready-to-use sample codes in JavaScript.

The trial version of ByteScout Data Extraction Suite can be downloaded for free from our website. It also includes source code samples for JavaScript and other programming languages.

REQUEST FREE TECH SUPPORT

Click here to get in touch

or just send email to support@bytescout.com

ON-PREMISE OFFLINE SDK

Get Your 60 Day Free Trial Explore SDK Docs Sign Up For Online Training

ON-DEMAND REST WEB API

Get your API key Explore Web API Documentation Explore Web API Samples

VIDEO REVIEW

https://www.youtube.com/watch?v=NEwNs2b9YN8

**HelloWorld.js:
var document = WScript.CreateObject('Bytescout.Spreadsheet.Spreadsheet');

// Add new worksheet
var worksheet = document.Workbook.Worksheets.Add("HelloWorld");

// get cell value
var cell = worksheet.Item(0,0); // you can also use worksheet.Cell("A1") as well

// set cell value
cell.Value = "Hello, World!";

// delete output file if exists already
var fso = WScript.CreateObject('Scripting.FileSystemObject');
if (fso.FileExists('Output.xls')) { fso.DeleteFile('Output.xls'); }
fso = null;

// save document
document.SaveAs ('Output.xls');

// close Spreadsheet
document = null