I want Vba to copy the column of data that is found under the name "Value" until it reaches a blank space and then copy that data in another worksheet. this is what I have so far.
Sub select_cellsCounty()
Set cell = Cells.Find(What:="Value")
cell.Select
Set Start= ActiveCell.Offset(1, 0).Select
Set ans = Application.InputBox(Start, Start, Type:=8)
Range(ans, Cells(Rows.Count, ans.Column).End(xlUp)).Select
Selection.Copy
Sheets("State").Select
Range("A2:A").Select
ActiveSheet.Paste
End Sub
I want to get rid of the input box and have it do it automatically, but I dont know how to set the beginning of the range as the cell one below the name "Value". I'm using Excel 2013.
Thanks,