davedave24
Programmer
Hi
I have a calendar/diary page with the dates horizontally (Mon>Sun), then several rows underneath the following week, and so on (basic diary layout).
I need to find the specific date (got this part), then write data underneath it. The cell below can either be empty, or full. However, if all the cells in that current day are used, simply stepping down to find the next empty cell will put the data into the wrong date (the following week) which will be under it.
So I would need to step down until either an empty cell OR a date is found.
- If empty cell is hit before a date, write the data.
- If date cell his hit before empty cell, insert row above, write the data.
I have been trying out IsEmpty and IsDate, but several attempts have got stuck in a loop forever and crashed excel.
I have a calendar/diary page with the dates horizontally (Mon>Sun), then several rows underneath the following week, and so on (basic diary layout).
I need to find the specific date (got this part), then write data underneath it. The cell below can either be empty, or full. However, if all the cells in that current day are used, simply stepping down to find the next empty cell will put the data into the wrong date (the following week) which will be under it.
So I would need to step down until either an empty cell OR a date is found.
- If empty cell is hit before a date, write the data.
- If date cell his hit before empty cell, insert row above, write the data.
I have been trying out IsEmpty and IsDate, but several attempts have got stuck in a loop forever and crashed excel.