Finalfight40
Active Member
- Joined
- Apr 24, 2018
- Messages
- 273
- Office Version
- 365
- Platform
- Windows
Hi All
I am looking for a little advice as i expect i am going to get a spreadsheet soon with exported data and i wanted to get a head start on a piece of VBA that i'm not aware how to do:
So i have the example data below as follows:
<tbody>
</tbody>
So there would be 1 thing i was hoping to get advice on.
Lets say my active cell is currently on John. How could i determine the number of blank cells below John in Column A before i reached Jamie. (So for this example 2)
Also this would need to work for an example like Bob where it would return 0 blank cells.
I am looking for a little advice as i expect i am going to get a spreadsheet soon with exported data and i wanted to get a head start on a piece of VBA that i'm not aware how to do:
So i have the example data below as follows:
A | B | C | D | |
1 | Name | Date | Time In | Time Out |
2 | John | ###### | ###### | ###### |
3 | #### | ######## | ###### | |
4 | #### | ##### | #### | |
5 | Jamie | ### | ##### | ####### |
6 | ##### | ###### | ###### | |
7 | Bob | #### | ##### | ##### |
8 | Polly | #### | ###### | ##### |
9 | ####### | #### | ####### | |
10 | ###### | #### | ### | |
11 | ### | ###### | ###### | |
12 | #### | ####### | ###### | |
13 | Jeff | #### | ###### | ###### |
14 | ###### | #### | ###### |
<tbody>
</tbody>
So there would be 1 thing i was hoping to get advice on.
Lets say my active cell is currently on John. How could i determine the number of blank cells below John in Column A before i reached Jamie. (So for this example 2)
Also this would need to work for an example like Bob where it would return 0 blank cells.
Last edited: