Forums     Knowledge Base     OfficeWriter Online     
 
 
This documentation is for
OfficeWriter v3.7.1
ASP/COM Platform

View Docs for Another
Version or Platform

Programmer's Reference > ExcelApplication > Properties > Style

ExcelApplication is not
available in ExcelWriterSE.

Style Property

Syntax:

[VBScript]
Property Style(StyleName As String) As SAStyle (read-only)

Description:

Returns a built-in style. Use Style to assign one of ExcelWriter's built-in styles to a cell. ExcelWriter includes the following styles:

  • "Normal"
  • "Comma"
  • "Comma0"
  • "Currency"
  • "Currency0"
  • "Percent"
  • "Time"
  • "Date"
  • "DateTime"
  • "Float"
  • "Hyperlink"

Example:

[VBScript]
Set Cells = ws.Cells
Cells.AddHyperlink 7,1,2,2,"http://www.softartisans.com"
Cells(7,1).Value = "SoftArtisans"
Cells(7,1).Style = xlw.style("Hyperlink")



Copyright 2006 © SoftArtisans, Inc. All Rights Reserved.