Leorand
New Member
- Joined
- Nov 25, 2022
- Messages
- 18
- Office Version
- 365
- Platform
- Windows
Hello everyone, I have question about title above. I try to make a serial number that contain today's date format like this 221222 and serial number start from 01 after the date, and it will change's after the next day. Can anyone help me with this problem?
I've try this code in my file :
num = Application.WorksheetFunction.CountA(Sheet1.Range("C:C"))
If num > 1 Then
Sheet1.Range("A" & num + 2).Value = Date & num - 1
End If
And the result is like this image bellow
I've try this code in my file :
num = Application.WorksheetFunction.CountA(Sheet1.Range("C:C"))
If num > 1 Then
Sheet1.Range("A" & num + 2).Value = Date & num - 1
End If
And the result is like this image bellow