# ActiveCol

Use the ActiveCol property to get or set the index of the column of the active cell. Learn its syntax and parameters in documentation.

## Content

Gets or sets the index of the column of the active cell.

## Syntax

[JavaScript]

```javascript
ret = FpSpread1.ActiveCol;
```

## Parameters

None

## Return Type

Integer, column index of active cell

## Remarks

The column index is the index of the column on the displayed HTML page.

## Example

This is a sample that contains the property. On the client side, the script that contains the property would look like this:

```javascript
<script type="text/javascript">
   function getColumn() {
       ret = FpSpread1.ActiveCol;
   }
</script>
```

## See Also

[ActiveRow](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allprops/CSSR-ActiveRow)
[SetActiveCell](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-SetActiveCell)
[Scripting Members](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members)