editing custom fields

  • Thread starter Thread starter Robrecht
  • Start date Start date
R

Robrecht

Hi

Yet a little question about command buttons:
Here is the code that i use:

Sub cmdStampDate_Click()

Dim objNS

Set objNS = Application.GetNamespace("MAPI")

txtnotities.Body = "**** " & Now() & " - " & objNS.CurrentUser & " **** ==>
"& vbcrlf & txtnotities.Body

Set objNS = Nothing

End Sub

On clicking the button I get a message "Objetc not found txtnotities" while
txtnotities is a textbox on my form

How to make this work

Grtz
 
Back
Top