programmatically set the color or hide properties...

  • Thread starter Thread starter Derek Davlut
  • Start date Start date
D

Derek Davlut

Another question:

I have a command box that I am currently using to pass a date value into
another value. The command box is called [setinital].

Here is the code.

Sub setinitial_Click()
Item.UserProperties.Find("initdelivery").Value=Item.UserProperties.Find("Del
ivery")
Msgbox "Initial Delivery Date Set!"
<<THIS IS WHERE I WANT THE CODE>>
End Sub

After MSGBOX I would like the commandbox "setinital =" to be removed from
the form either by setting it to the background colour or removing it at the
end of the click event. IS this possible?



thanks,

Derek.
 
Back
Top