Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Current Row number

Can anyone tell me how I can find out the row number of the current active
cell,

something like x = activecell.currentRowNum ?

Thanks
Brian


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Current Row number

Brian,
x = ActiveCell.Row

I believe.
Geof.
-----Original Message-----
Can anyone tell me how I can find out the row number of

the current active
cell,

something like x = activecell.currentRowNum ?

Thanks
Brian


.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Current Row number

thanks, works great



"Geof" wrote in message
...
Brian,
x = ActiveCell.Row

I believe.
Geof.
-----Original Message-----
Can anyone tell me how I can find out the row number of

the current active
cell,

something like x = activecell.currentRowNum ?

Thanks
Brian


.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Current Row number


Sorry may i ask ?


Where i have to run this : x = ActiveCell.Row pls,
Explain to me because i am new in VBA



SAMI


--
Sambusa
------------------------------------------------------------------------
Sambusa's Profile: http://www.excelforum.com/member.php...o&userid=14960
View this thread: http://www.excelforum.com/showthread...hreadid=266823

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Current Row number

This kind of code is entered in the VBE--where developers write code.

You may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Sambusa wrote:

Sorry may i ask ?

Where i have to run this : x = ActiveCell.Row pls,
Explain to me because i am new in VBA

SAMI

--
Sambusa
------------------------------------------------------------------------
Sambusa's Profile: http://www.excelforum.com/member.php...o&userid=14960
View this thread: http://www.excelforum.com/showthread...hreadid=266823


--

Dave Peterson

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
Current year and current week number Grey Old Man[_2_] Excel Discussion (Misc queries) 11 December 8th 09 06:30 PM
return the current row number for use in a formula CuriousMark Excel Discussion (Misc queries) 2 May 6th 08 02:53 AM
How to tell the number of current open workbooks... [email protected] Excel Worksheet Functions 1 April 16th 07 04:06 PM
How can I get current cell row number excelneophyte Excel Discussion (Misc queries) 1 October 18th 05 01:08 AM
Return number of current sheet Brandon Excel Worksheet Functions 3 April 26th 05 05:55 AM


All times are GMT +1. The time now is 12:31 AM.

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"