G
Guest
hi - I must be doing something really DUMB here - but what?
I'm tryng to validate and if invalid, cancel user changes to an Outlook Item from my VB app. I've queried this newsgroup and the advice is use code lik
Function Item Write(
If [invalid test] the
Item_Write = Fals
End I
End Functio
My code looks like this
Private Sub Item_Write(Cancel As Boolean
If DateValue(Item.Start) <> DateValue(Item.End) The
Item_Write = Fals
..
End I
...
End Su
However when I try that I get a compile error from VB "Argument not optional" - help please?
thanks in advance
I'm tryng to validate and if invalid, cancel user changes to an Outlook Item from my VB app. I've queried this newsgroup and the advice is use code lik
Function Item Write(
If [invalid test] the
Item_Write = Fals
End I
End Functio
My code looks like this
Private Sub Item_Write(Cancel As Boolean
If DateValue(Item.Start) <> DateValue(Item.End) The
Item_Write = Fals
..
End I
...
End Su
However when I try that I get a compile error from VB "Argument not optional" - help please?
thanks in advance