Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Cell Style

  • Undo

    Undo
    po
  • Clipboard

    Clipboard
    po
  • v
    v
    popopopo
    Font

    Font
    po
  • Alignment

    Alignment
    po
  • po
    dialogboxlauncherNumber

    Number
    po
  • Cells

    Cells
    po
  • Editing

    Editing
    po
  • Styles

    Styles
    po
  • dialogboxlauncherPage Setup

    Page Setuppo
  • dialogboxlauncherPrint

    Print
    po
  • Document Views

    Document Viewspo
  • Show

    Show
    po
  • View

    View
    po
  • Window

    Window
    po
  • Table Name
    Properties

    Properties
    po
  • Tools

    Tools
    po
  • Table Style Options

    Table Style Optionspo
  • Table Style Options

    Table Style Optionspo
  • Layout

    Layout
    po
  • PivotTable Style Options

    PivotTable Style Optionspo
 

This example demonstrates how to programmatically modify format characteristics (the background color, font and alignment settings) of an individual cell and how to specify different borders for ranges of cells.

To format an individual cell, access the corresponding Cell object and modify its formatting properties.

To format a range of cells, access and modify the Formatting object using the Range.BeginUpdateFormatting - Range.EndUpdateFormatting method pair.