LucHoffmann
New Member
- Joined
- May 15, 2012
- Messages
- 2
Hi,
I have totally no expierence with writing macro's and always use the record button. I want to use excel to analyse test data. Here starts the problem.
When I stop the test it always ends with a unknown ammount of row filled with '****'. When I start using functions these cells give errors.
I tried looking these cells up and replacing them, but because of the '****' Excel looks up all cells containg 4 of or more digits.
I can use a formula the determine the last cell containing normal data, but i can't automate the array selection in a way it will chose that cell.
Summarizing my problem:
When cell A5 till A1500 contain numbers and A1501 till A2000 contains '****', I can get the array adress $A$5:$A1500 in a cell.
The row number in which the cell data with '****' starts, can vary. Which is the main problem.
But how can I use this cell as an variable for my Array selection, in a VBA formula or cell formula. Or isn't this possible? Even a solution to replace the '****' by empty cells would be enough, but isn't prefered.
Hope you guys can help me.
I have totally no expierence with writing macro's and always use the record button. I want to use excel to analyse test data. Here starts the problem.
When I stop the test it always ends with a unknown ammount of row filled with '****'. When I start using functions these cells give errors.
I tried looking these cells up and replacing them, but because of the '****' Excel looks up all cells containg 4 of or more digits.
I can use a formula the determine the last cell containing normal data, but i can't automate the array selection in a way it will chose that cell.
Summarizing my problem:
When cell A5 till A1500 contain numbers and A1501 till A2000 contains '****', I can get the array adress $A$5:$A1500 in a cell.
The row number in which the cell data with '****' starts, can vary. Which is the main problem.
But how can I use this cell as an variable for my Array selection, in a VBA formula or cell formula. Or isn't this possible? Even a solution to replace the '****' by empty cells would be enough, but isn't prefered.
Hope you guys can help me.
Last edited: