von Toxitom » Sa, 20.05.2006 10:13
Hey wonder,
da schreibst du dir flux eine benutzerdefineirte Funktion:
Code: Alles auswählen
function Wtag(i as integer) as String
aWochentag = array("Sonntag", "Montag", "Dienstag", "Mittwoch", _
"Donnerstag", "Freitag", "Samstag", "Sonntag")
if i > 0 and i < 8 then
Wtag = aWochentag(i-1)
else
WTag = "##Fehler##"
end if
end function
und jetzt hast du deine Formel:
Gruss
Thomas
Hey wonder,
da schreibst du dir flux eine benutzerdefineirte Funktion:
[code]function Wtag(i as integer) as String
aWochentag = array("Sonntag", "Montag", "Dienstag", "Mittwoch", _
"Donnerstag", "Freitag", "Samstag", "Sonntag")
if i > 0 and i < 8 then
Wtag = aWochentag(i-1)
else
WTag = "##Fehler##"
end if
end function[/code]
und jetzt hast du deine Formel:
[code]=Wtag(Wochentag(heute))[/code]
:wink:
Gruss
Thomas