I'm having some issues while trying to set a cell to a custom format ( "yyyy/mm/dd hh:mm:ss" )
This is what I tried so far but to no avail:
- Code: Select all
sheetOne["A2"].NumberFormat = "yyyy/mm/dd hh:mm:ss"
sheetOne.Range[2,1].NumberFormat = "yyyy/mm/dd hh:mm:ss"
sheetOne["A2"].NumberFormat = "yyyy.mm.dd hh:mm:ss"
I'll keep trying, but in the meantime maybe you guys can help me with the solution!
Thank you!