ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Why doesn't Selection.End(xlDown).Select always work? (https://www.excelbanter.com/excel-programming/305845-re-why-doesnt-selection-end-xldown-select-always-work.html)

Don Guillett[_4_]

Why doesn't Selection.End(xlDown).Select always work?
 
Assuming you DO have a cell selected, it should work.. Examples?

--
Don Guillett
SalesAid Software

"Andy" wrote in message
...
Hi,
I am trying to get the next free row using
Selection.End(xlDown).Select
Sometimes it seems to work, sometimes not.
Is there something else I need to know about this? I've currently given up

and am using a do look looking for the next emply cell, but its a bit of a
fudge, and won't win any 'pretty code' contests!

Any help would be appreciated.
Many thanks in advance.





All times are GMT +1. The time now is 03:47 AM.

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