ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Find Extents of Data (https://www.excelbanter.com/excel-programming/312316-find-extents-data.html)

Presspley

Find Extents of Data
 
I believe that there is a simple function available in VBA that searches for
the extens of the data once a cell is highlighted. For example by clicking
in the centre of a large range of data, this command effectively then
returns the extents allowing easy definition of a range.



duane[_16_]

Find Extents of Data
 

I think this is what you want

activecell.CurrentRegion.selec

--
duan
-----------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...fo&userid=1162
View this thread: http://www.excelforum.com/showthread.php?threadid=26595



All times are GMT +1. The time now is 06:05 PM.

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