Your question seems a bit vague.
What is your host application? Excel?
What number? row number, column number, cell value, page number the cell appears on, etc.
In general you will get better Excel VBA answers in forum766, as this forum is for straight Visual Basic.
For this question you can use ActiveCell.Column and ActiveCell.Row
Good Luck
johnwm
________________________________________________________
To get the best from these forums read faq731-376 before posting Steam Engine enthusiasts Steam Engine Prints