【转】各种软件许可协议的区别

版权见水印
默认分类 | 2018-04-03 15:01 | 阅读 1753 次 | 评论 0 条

Lua使用luacom模块操作EXCEL之二——设置框线、颜色等

require 'luacom' local excel = luacom . CreateObject( 'Excel.Application' ) excel . Visible = true local book = excel . Workbooks:Add() local sheet = book . Worksheets( 1 ) sheet . Name = 'gty' local range = sheet:Range( 'A1:A10' ) local cell = sheet . Cells( 1 , 1 ) sheet:Range( 'D3:D6' ...
Lua | 2018-04-03 14:53 | 阅读 2785 次 | 评论 0 条

Lua使用luacom模块操作EXCEL

--导入luacom模块 require('luacom') require('lfs') --导入lfs模块用于取得当前路径,和操作EXCEL无关 local sMainPath = lfs.currentdir() --取得当前路径 --创建EXCEL对象 MyExcel = luacom.CreateObject("Excel.Application") --创建EXCEL对象 --MyExcel = luacom.CreateObject("Ket.Application") --创建WPS表格对象,新版的WPS已经兼容了MSO,就不用这...
Lua | 2018-04-03 14:45 | 阅读 9026 次 | 评论 1 条
浏览37962次
最新评论