Hi
I would like to get som help with a function that I wrote, I would like the function to give me timebuckets from a string. This is were I am @ the moment:
Function Test(Period As Double) As Double
Dim M As String
Dim Y As String
M = Right(Period, 2)
Y = Left(Period, 4)
If M = "05" Then
Test = "Q1"
Else
End If
End Function
The "Period" could look like '2008 05'
Could any helpful soul out there help me plz
//Emil
I would like to get som help with a function that I wrote, I would like the function to give me timebuckets from a string. This is were I am @ the moment:
Function Test(Period As Double) As Double
Dim M As String
Dim Y As String
M = Right(Period, 2)
Y = Left(Period, 4)
If M = "05" Then
Test = "Q1"
Else
End If
End Function
The "Period" could look like '2008 05'
Could any helpful soul out there help me plz
//Emil