Example: Create a Simple Spreadsheet Using Script

Locked
COBS Tech Support
Site Admin
Posts: 101
Joined: Sat May 15, 2021 9:57 am

Example: Create a Simple Spreadsheet Using Script

Post by COBS Tech Support »

The following script demonstrates how to create a simple Excel compatible spreadsheet.

Code: Select all

* Create a Spreadsheet
SpreadCreate()
SpreadWrite(1, 1, "Hello World")
SpreadWrite(2, 1, 100)
SpreadWrite(3, 1, 200)
SpreadWrite(4, 1, 6.66)
SpreadWrite(5, 1, Today())
SpreadSave("C:\TEMP\Test Spreadsheet.xls")
SpreadClose()
Locked