Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default find columns

Good Evening,

Thanks for the help to find the row number by code.

Tried: c = ActiveCell.Columns

This seems to always be the value 0, when this is the
the cell from where all is relative. Is there a way to find the
columns absolute number ( A = 1 etc).

Thanks for help.

Brgds

CG Rosén


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default find columns

Close. Lose the s on columns

"CG Rosén" wrote in message
...
Good Evening,

Thanks for the help to find the row number by code.

Tried: c = ActiveCell.Columns

This seems to always be the value 0, when this is the
the cell from where all is relative. Is there a way to find the
columns absolute number ( A = 1 etc).

Thanks for help.

Brgds

CG Rosén




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default find columns

Hi

You're sooo close. It's Column and not Columns :

c = ActiveCell.Column

--
HTH. Best wishes Harald
Followup to newsgroup only please

"CG Rosén" skrev i melding
...
Good Evening,

Thanks for the help to find the row number by code.

Tried: c = ActiveCell.Columns

This seems to always be the value 0, when this is the
the cell from where all is relative. Is there a way to find the
columns absolute number ( A = 1 etc).

Thanks for help.

Brgds

CG Rosén




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default find columns

c = ActiveCell.column


without the "s"

--
Regards,
Tom Ogilvy

CG Rosén wrote in message
...
Good Evening,

Thanks for the help to find the row number by code.

Tried: c = ActiveCell.Columns

This seems to always be the value 0, when this is the
the cell from where all is relative. Is there a way to find the
columns absolute number ( A = 1 etc).

Thanks for help.

Brgds

CG Rosén




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I find dups across different columns Nyrubi Excel Worksheet Functions 3 February 2nd 09 10:41 PM
Find the differences in 2 columns Bec[_2_] Excel Discussion (Misc queries) 2 April 5th 07 01:34 PM
Find the top 20 numbers in several columns FrederikM Excel Discussion (Misc queries) 1 November 21st 06 04:49 PM
Find the first value in a row and sum n columns [email protected] Excel Worksheet Functions 5 October 15th 05 09:49 AM
find the max in different columns gcheatwood Excel Discussion (Misc queries) 1 April 19th 05 07:04 AM


All times are GMT +1. The time now is 02:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"