Hi
I currently have the following formula in Column C
Basically this looks at the value of Column A, and if the date is the same as the row above, It will add 1 to the last digit, (which is the date and 101), so would become 102, but if the date is not the same would become the date and 101.
What I am now needing to do is do this in VBA. I am arriving at this cell via Activecell and Offset, as at fist the code goes to the first available cell in column A and enters data from the userform across that row.
The first thing the userform will ask for the date (which may not be todays date).
I am at a complete loss what code this might look like.
Can someone help please
I currently have the following formula in Column C
Code:
=IF(A31=A30,CONCATENATE(TEXT(A31,"ddmmyy"),SUM(RIGHT(C30,3)+1)),CONCATENATE(TEXT(A31,"ddmmyy"),101))
Basically this looks at the value of Column A, and if the date is the same as the row above, It will add 1 to the last digit, (which is the date and 101), so would become 102, but if the date is not the same would become the date and 101.
What I am now needing to do is do this in VBA. I am arriving at this cell via Activecell and Offset, as at fist the code goes to the first available cell in column A and enters data from the userform across that row.
The first thing the userform will ask for the date (which may not be todays date).
I am at a complete loss what code this might look like.
Can someone help please