editing custom fields

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top