ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how to get a range (https://www.excelbanter.com/excel-programming/298051-how-get-range.html)

Bruno Storz

how to get a range
 
Hi there,

I have a worksheet, starting at A1 we find a square range of data, which
will end somewhere.
How can I define the range without looping through each cell and check if
there are data in the cell?

Regards
Bruno



Stephan Kassanke

how to get a range
 

"Bruno Storz" schrieb im Newsbeitrag
...
Hi there,

I have a worksheet, starting at A1 we find a square range of data, which
will end somewhere.
How can I define the range without looping through each cell and check if
there are data in the cell?

Regards
Bruno



Hi Bruno,

Set myRange = Range("A1").CurrentRegion
myRange.Select

cheers,
Stephan



Bruno Storz

how to get a range
 
Danke! Bruno




All times are GMT +1. The time now is 01:22 AM.

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