MAcro to select number of colums
Closed
crisaldana123
-
28 Sep 2009 à 10:19
venkat1926 Posts 1863 Registration date Sunday 14 June 2009 Status Contributor Last seen 7 August 2021 - 28 Sep 2009 à 21:24
venkat1926 Posts 1863 Registration date Sunday 14 June 2009 Status Contributor Last seen 7 August 2021 - 28 Sep 2009 à 21:24
Related:
- MAcro to select number of colums
- Vba select case like - Guide
- How to select at the rate in laptop - Guide
- Excel online macro - Guide
- Macro for number to words in excel - Guide
- Please insert the correct dvd-rom select ok and restart application nfsmw ✓ - Windows Forum
1 response
venkat1926
Posts
1863
Registration date
Sunday 14 June 2009
Status
Contributor
Last seen
7 August 2021
811
28 Sep 2009 à 21:24
28 Sep 2009 à 21:24
The question needs rephrasing. I do not know what you want.
=column(a1)gives 1
=column (B1) gisves 2
=column(c1) gives 3 etc
if you want the last column number in the data
in vba
j gives the last column of data
study the difference between column(singular) and columns(plural) in help.
=column(a1)gives 1
=column (B1) gisves 2
=column(c1) gives 3 etc
if you want the last column number in the data
in vba
dim j as integer
j=range("A1").end(xltoright).column
j gives the last column of data
study the difference between column(singular) and columns(plural) in help.