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

Excel Experts,

Simple question. I've been away from VBA for a bit.

How do I select the current row.

I tried
Rows.CurrentRow.Select
but that didn't work.

Thanks,
Alan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default Select Current Row

ActiveCell.EntireRow.Select

Regards,
Stefi


€˛achidsey€¯ ezt Ć*rta:

Excel Experts,

Simple question. I've been away from VBA for a bit.

How do I select the current row.

I tried
Rows.CurrentRow.Select
but that didn't work.

Thanks,
Alan

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Select Current Row

Sub selectcurrentrow()
Rows(ActiveCell.Row).Select
End Sub

--
Don Guillett
SalesAid Software

"achidsey" wrote in message
...
Excel Experts,

Simple question. I've been away from VBA for a bit.

How do I select the current row.

I tried
Rows.CurrentRow.Select
but that didn't work.

Thanks,
Alan



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Select Current Row

I forgot to add.
Perhaps you should post your code as it is rarely necessary or desirable to
select.
ie:
Rows(ActiveCell.Row).Copy Range("a23")
--
Don Guillett
SalesAid Software

"achidsey" wrote in message
...
Excel Experts,

Simple question. I've been away from VBA for a bit.

How do I select the current row.

I tried
Rows.CurrentRow.Select
but that didn't work.

Thanks,
Alan



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
Macro €“ select all cells in current range Mary Ann Excel Discussion (Misc queries) 3 December 12th 05 07:19 AM
Want macro to select current cell rdaugherty Excel Programming 9 October 13th 05 04:35 PM
how to select current range mikerr Excel Programming 4 August 4th 05 05:40 PM
Select current region and print Tempy Excel Programming 2 April 20th 05 05:47 AM
Select current region less one column Soniya[_2_] Excel Programming 1 January 12th 04 02:05 PM


All times are GMT +1. The time now is 10: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"