I have a macro (Sub SelectData) that selects a range going down from A2 to the last row with values and the over right to the last column with values. The code selects all cells with formulas, even those returning no value leaving the cell blank. how do I change the macro to slect only the cells that have values returned and not those with only formulas entered. The last cell in column A with values is row A96 but this macro selects down to row 150 because there are formulas but no values present. Here is the macro:
ActiveSheet.Range("A2:" & ActiveSheet.Range("A2").End(xlDown). _
End(xlToRight).Address).Select
Ken <!-- / message --><!-- BEGIN TEMPLATE: ad_showthread_firstpost_sig --><!-- END TEMPLATE: ad_showthread_firstpost_sig -->
ActiveSheet.Range("A2:" & ActiveSheet.Range("A2").End(xlDown). _
End(xlToRight).Address).Select
Ken <!-- / message --><!-- BEGIN TEMPLATE: ad_showthread_firstpost_sig --><!-- END TEMPLATE: ad_showthread_firstpost_sig -->