Recent

Author Topic: sending data to excel with Lazarus  (Read 4036 times)

uzgum

  • Newbie
  • Posts: 2
sending data to excel with Lazarus
« on: April 16, 2011, 10:46:31 pm »
 hello
 How can I send data from an excel sheet with Lazarus.
 This code
  (  XLApp.cells [1.1]. Value: = 'TEST';  )  
returns an error.
« Last Edit: April 16, 2011, 10:53:10 pm by uzgum »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8281
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: sending data to excel with Lazarus
« Reply #1 on: April 17, 2011, 10:16:51 am »
Quote
XLApp.cells [1.1]. Value: = 'TEST';
Syntactically, this is already an error. It should be:
XLApp.cells[1,1].Value := 'TEST';

Next, I don't know how you initialize XLApp, what its type is, etc. You should post a complete block (or even a complete program) so we could analyze what's wrong.

 

TinyPortal © 2005-2018