Search
 
SCRIPT & CODE EXAMPLE
 

EXCEL

excel number of column

=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 delimited text into separate columns 
Excel :: or function in excel 
Excel :: and function in excel 
Excel :: freeze row in excel 
Perl :: perl exit loop 
Perl :: perl read file 
Perl :: perl mongodb conf location 
Perl :: len perl 
Pascal :: pascal input number 
Pascal :: pascal pause program for seconds 
Pascal :: turbo pascal online compiler 
Powershell :: powershell replace character in string 
Gdscript :: godot ignore function 
Clojure :: clojure take-while 
Lisp :: list contains lisp 
Assembly :: x86 assembly hello world 
Assembly :: discord bot edit message 
Assembly :: nano error reading lock file not enough data read 
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
2+6 =