You are on page 1of 2

10 giu 2013 12:54:52 - importData.

sm

Xlsx Import/Export: importData functions


XLSX import

import a single cell


(file in the same folder of this sheet; use a relative/absolute path otherwise)

A importData "my SMath XLSX input.xlsx", "Sheet2" , "G6"


XLSX

A "G6 string"

import a range of cells

B importData "my SMath XLSX input.xlsx", "Sheet2" , "B2" , "G7"


XLSX

0 0 0 0 0 0
kg
"a text" 2540 0.8571 2 0 0
2
s
B 0 "another text" 0.8408 1 1 0
28 28 0 "formatted text" 0 0
9.4567 10 5.4567 10
0 "a complex string" 0 0 0 "G6 string"
0 0 0 0 0 0

1/2
10 giu 2013 12:54:52 - importData.sm
import a range of cells (input left-top corner and bottom-right corner swapped)

C importData "my SMath XLSX input.xlsx", "Sheet2" , "G7" , "B2"


XLSX

0 0 0 0 0 0
kg
"a text" 2540 0.8571 2 0 0
2
s
C 0 "another text" 0.8408 1 1 0
28 28 0 "formatted text" 0 0
9.4567 10 5.4567 10
0 "a complex string" 0 0 0 "G6 string"
0 0 0 0 0 0

import data envelope from a sheet

D importData "my SMath XLSX input.xlsx", "Sheet2"


XLSX

0 0 0 0 0 0 0
0 0 0 0 0 0 0
kg
0 "a text" 2540 0.8571 2 0 0
2
D s
0 0 "another text" 0.8408 1 1 0
0 9.4567 10 28 5.4567 10
28 0 "formatted text" 0 0
0 0 "a complex string" 0 0 0 "G6 string"

2/2

You might also like