乔山办公网我们一直在努力
您的位置:乔山办公网 > excel表格制作 > 如何使用XlsReadWriteII在<em>Delphi</em>中读取Ex...-delph

如何使用XlsReadWriteII在<em>Delphi</em>中读取Ex...-delph

作者:乔山办公网日期:

返回目录:excel表格制作


var
s:string;
xls:TXlsReadWrite;
begin
Xls.filename:='c:\123.xls';
xls.read;
s:=xls.sheets[0].asstring[0,0];
showmessage(s);
xls.sheets[0].asstring[0,0]:='新闻界';
xls.savetofile('c:\234.xls');
end;

试试这个方法:zhidao
var
s:string;
xls:TXlsReadWrite;
begin
Xls.filename:='c:\123.xls';
xls.read;
s:=xls.sheets[0].asstring[0,0];
showmessage(s);
xls.sheets[0].asstring[0,0]:='新闻界';
xls.savetofile('c:\234.xls');
end;
var
s:string;
xls:TXlsReadWrite;
begin
Xls.filename:='c:\123.xls';
xls.read;
s:=xls.sheets[0].asstring[0,0];
showmessage(s);
xls.sheets[0].asstring[0,0]:='新闻zhidao';
xls.savetofile('c:\234.xls');
end;

var
s:string;
xls:TXlsReadWrite;
begin
Xls.filename:='c:\123.xls';
xls.read;
s:=xls.sheets[0].asstring[0,0];
showmessage(s);
xls.sheets[0].asstring[0,0]:='新闻界';
xls.savetofile('c:\234.xls');
end;

相关阅读

关键词不能为空
极力推荐
  • excel筛选-Excel常规筛选,你确定你会用吗

  • 其中「筛选」功能在数据很多的时候,用来提取出符合你要求的数据,效率非常高。比如说,在一堆部门人员信息中提取出运营部的人员名单,或者在本月销售商品中筛选出销量大于1

ppt怎么做_excel表格制作_office365_word文档_365办公网