Guidance
指路人
g.yi.org
Software / Reginald / Examples / repository / Office / Excel / AddFormat.rex

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
/* adds the words "test value" to a new spreadsheet, then formats the cell containing the value */
objexcel = createcomobject("Excel.Application")
objexcel~visible = true
workbook = objexcel~workbooks()
workbook~add()
cell = objexcel~cells(1, 1)
cell~value = "Test value"
font = cell~font
font~bold = "True"
font~size = 24
font~colorindex = 3

掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Thu 2024-5-9  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16