Search
 
SCRIPT & CODE EXAMPLE
 

EXCEL

excel column number

=COLUMN(A1)

The COLUMN function returns the column number of the given cell reference.
=COLUMN(D10) returns 4 because column D is the fourth column.
Comment

how to find column number in excel

Sub acitveCellInfo()
     MsgBox "Active-column: " & ActiveCell.Column & ", Active-Row: " & ActiveCell.Row, vbInformation, "Active Cell"
End Sub


'if you want to see the column Nr's during working in Excel table you can change the reference-style

Sub changeReferenceStyle()
    Application.ReferenceStyle = xlA1 + xlR1C1 - Application.ReferenceStyle
End Sub
Comment

PREVIOUS NEXT
Code Example
Excel :: excel paste across cells 
Excel :: or logic excel 
Excel :: AND logic in excel formula 
Excel :: google sheets apply formula to entire column 
Perl :: perl post condition 
Perl :: perl for 
Perl :: perl split array into smaller arrays 
Perl :: comments in perl 
Pascal :: pascal press any key to continue 
Pascal :: pascal iteration 
Pascal :: pascal const 
Powershell :: Download attachment from Jira task to local filesystem 
Gdscript :: godot check left mouse button 
Clojure :: how to make a directory in clojure 
Lisp :: common lisp map number to word 
Assembly :: javafx fxml loader example 
Assembly :: where correlation is used 
Assembly :: bidirectional binding between string Property and integerproperty 
Javascript :: jquery vslidation remove spaces from input 
Javascript :: week days array in javascrpt 
Javascript :: jquery redirect 
Javascript :: Javascript run code after page load 
Javascript :: react native reset cache 
Javascript :: moment get today, tomorrow, yesterday 
Javascript :: detect browser javascript 
Javascript :: javascript code to edit webpage 
Javascript :: react native rotate 
Javascript :: javascript loop through class elements 
Javascript :: js find object length 
Javascript :: javascript for loop over dictionary 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =