ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Select Current Row (https://www.excelbanter.com/excel-programming/372973-select-current-row.html)

achidsey[_2_]

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

Stefi

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


Don Guillett

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




Don Guillett

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





All times are GMT +1. The time now is 09:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com