Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88066

Select a range in Excel vbscript

$
0
0

Using vbScript, I use the find method to search a named range for a cell value and select that item in the worksheet if the value is found. What I need to do is select a range of cells starting with the "found" cell and extending to the top row in the column and from the found cell to the bottom of the column. So, if my found cell is A15 then I want to select the range that is A14 through A1 and from A16 to the bottom of the column. I've been kicking this can down the road far to long. Can someone help. Thanks in advance.


Viewing all articles
Browse latest Browse all 88066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>