Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi.
I have a macro, and I need to obtain the col letter and not the number, so as to go to one column to another, adding 1. I entered the following code: ActiveCell.Column = ActiveCell.Column + 1 But ActiveCell.Column returns the column number, which is the correct code? Thanks in advance Regards Emece.- |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You can use the column number in CELLS
cells(2,activecell.column) range(cells(2,activecell.column),cells(22,activece ll.column)) where the first number is the row and the second the column -- Don Guillett Microsoft MVP Excel SalesAid Software "Emece" wrote in message ... Hi. I have a macro, and I need to obtain the col letter and not the number, so as to go to one column to another, adding 1. I entered the following code: ActiveCell.Column = ActiveCell.Column + 1 But ActiveCell.Column returns the column number, which is the correct code? Thanks in advance Regards Emece.- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I did not obtain to transform text of small letter for capital le | Excel Discussion (Misc queries) | |||
Obtain drive letter assignment of CD/DVD drive? | Excel Discussion (Misc queries) | |||
New Validation option to format 1st letter as Capital letter | Excel Discussion (Misc queries) | |||
Default Capital letter for 1st letter of a word | Excel Discussion (Misc queries) | |||
column header changed from letter to number, how return to letter | Excel Discussion (Misc queries) |