I have a string [FirstSem] of "20041" (first semester of 2004) which I want to format to be more of a date field (8/2004). Likewise, "20042" I would like to format to 1/2005. Here's pseudocode that may explain what I'm trying to do.
If (Mod(FirstSem, 10)=1, "8/" & Round([FirstSem]/10,
If (Mod(FirstSem, 10)=2, "1/" & Round ([FirstSem]/10, ""))
Can anyone provide some assistance with this -- does anyone know any better VBA coding for this? Thanks for whatever suggestion you may have.
If (Mod(FirstSem, 10)=1, "8/" & Round([FirstSem]/10,
If (Mod(FirstSem, 10)=2, "1/" & Round ([FirstSem]/10, ""))
Can anyone provide some assistance with this -- does anyone know any better VBA coding for this? Thanks for whatever suggestion you may have.