Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
load text from excel
#3
It is information, not error.

Instead of
str cell=es.Cell("A2"); paste cell
cell=es.Cell("A3"); paste cell
cell=es.Cell("A4"); paste cell
...

you can use array:
Macro Macro2764
Code:
Copy      Help
ExcelSheet es.Init
ARRAY(str) a; int i
es.CellsToArray(a "A:A")
for i 0 a.len
,paste a[0 i]
,key Y


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)