Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
J J is offline
external usenet poster
 
Posts: 9
Default How to get Row & Column in Excel 2000 VB?

For Example, if I was in cell C5, i would like to be able
to assign row = 3 and column = 5. Is there a function in
Excel VB to do that. Currently, I used the absolute
address and I have to parse it to get the row and column
information. Is there a easier way?

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default How to get Row & Column in Excel 2000 VB?

Hi
msgbox activecell.row
msgbox activecell.column

--
Regards
Frank Kabel
Frankfurt, Germany


J wrote:
For Example, if I was in cell C5, i would like to be able
to assign row = 3 and column = 5. Is there a function in
Excel VB to do that. Currently, I used the absolute
address and I have to parse it to get the row and column
information. Is there a easier way?

Thanks in advance.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How to get Row & Column in Excel 2000 VB?

rw = ActiveCell.Column
col = ActiveCell.Row

would give you what you describe.

--
Regards,
Tom Ogilvy

"J" wrote in message
...
For Example, if I was in cell C5, i would like to be able
to assign row = 3 and column = 5. Is there a function in
Excel VB to do that. Currently, I used the absolute
address and I have to parse it to get the row and column
information. Is there a easier way?

Thanks in advance.



  #4   Report Post  
Posted to microsoft.public.excel.programming
J J is offline
external usenet poster
 
Posts: 9
Default How to get Row & Column in Excel 2000 VB?

Thank you for your help.

-----Original Message-----
rw = ActiveCell.Column
col = ActiveCell.Row

would give you what you describe.

--
Regards,
Tom Ogilvy

"J" wrote in message
...
For Example, if I was in cell C5, i would like to be

able
to assign row = 3 and column = 5. Is there a function

in
Excel VB to do that. Currently, I used the absolute
address and I have to parse it to get the row and column
information. Is there a easier way?

Thanks in advance.



.

  #5   Report Post  
Posted to microsoft.public.excel.programming
J J is offline
external usenet poster
 
Posts: 9
Default How to get Row & Column in Excel 2000 VB?

Thank you for your help.

-----Original Message-----
Hi
msgbox activecell.row
msgbox activecell.column

--
Regards
Frank Kabel
Frankfurt, Germany


J wrote:
For Example, if I was in cell C5, i would like to be

able
to assign row = 3 and column = 5. Is there a function

in
Excel VB to do that. Currently, I used the absolute
address and I have to parse it to get the row and column
information. Is there a easier way?

Thanks in advance.

.

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
Excel 2000: Adding column D based on value in column A al Excel Worksheet Functions 6 April 10th 08 02:22 AM
Excel 2000 Column Format not changing. Mic Excel Discussion (Misc queries) 1 June 12th 07 12:27 AM
Excel 2000 column question Marci Excel Discussion (Misc queries) 1 March 28th 07 03:13 PM
How do you get different column sizes in one sheet? Excel 2000 Margaret Excel Discussion (Misc queries) 2 April 5th 06 07:12 PM
How do I link data in Excel 2000 from a column to a row? rbenedict Excel Discussion (Misc queries) 1 December 8th 05 04:30 PM


All times are GMT +1. The time now is 01:43 PM.

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

About Us

"It's about Microsoft Excel"