Hello,
currently I am working on an workschedule.
But unfortunatly i cant figure out how to program a case structure wich compares letters.
So every letters represents a number of working hours.
for example M stands for morning and represents 4 hours of work.
I tried a function wich compares the current value with the letters.
someting like this.
Function hourscal(Hours as string) ' for comparing a letter I used a string
dim totalhour As integer
select case hours
Case hours = M
Totalhours = value + 4
How can make a case structure like this?
thanks in advance
Niek
wat is
currently I am working on an workschedule.
But unfortunatly i cant figure out how to program a case structure wich compares letters.
So every letters represents a number of working hours.
for example M stands for morning and represents 4 hours of work.
I tried a function wich compares the current value with the letters.
someting like this.
Function hourscal(Hours as string) ' for comparing a letter I used a string
dim totalhour As integer
select case hours
Case hours = M
Totalhours = value + 4
How can make a case structure like this?
thanks in advance
Niek
wat is