"We are back" « oc.at

Makro Probleme

DareDeviL 14.06.2004 - 12:26 473 2
Posts

DareDeviL

Sharp as f*ck
Avatar
Registered: Jan 2003
Location: Brigittenau
Posts: 621
moin leute hab ein kleines problem mit makros

hier der text

Sub Noten()
'
' Noten Makro
' Makro aufgezeichnet am 14.06.2004
'
antwort = InputBox("Ihre Note?")
Selection.TypeParagraph
If note < 5 Then
Selection.TypeText Text:="Note "
Selection.TypeText Text:=note
Selection.TypeText Text:=" ist positiv"
Else
Selection.TypeText Text:="Note "
Selection.TypeText Text:=note
Selection.TypeText Text:=" ist leider negativ"
End If
End Sub


da ist irgendwo ein fehler, den ich nicht finde

und zwar bekomme ich wenn ich die zahl 5 eingebe auch die antwort raus die note ist positiv


also bitte helft mir

tia

Dare

mat

Administrator
Legends never die
Avatar
Registered: Aug 2003
Location: nö
Posts: 25551
antwort = InputBox("Ihre Note?")
sollte
note = InputBox(..) sein

DareDeviL

Sharp as f*ck
Avatar
Registered: Jan 2003
Location: Brigittenau
Posts: 621
danke jetzt geht der ****** endlich

Dare
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz