Version

ActiveSelectionCellRangeFormat Property

Returns an object used to get the formatting of the ActiveCell and where modifications are applied to the entire ActiveSelection.
Syntax
'Declaration
 
Public ReadOnly Property ActiveSelectionCellRangeFormat As SpreadsheetCellRangeFormat
public SpreadsheetCellRangeFormat ActiveSelectionCellRangeFormat {get;}
Remarks

Any changes made to this object will affect all the objects in the selection. So for example, the Font.Name may return "Arial" because the active cell has that as its resolved font name even though the other cells are using a different font but if you set the Font.Name of this object to "Arial" then all the objects affected by the selection will have their Font.Name updated to that value.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also