View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ayo Ayo is offline
external usenet poster
 
Posts: 489
Default Why is this code not working

I am using the code below on a command button on a form but the form just
blinks and nothing else happens.
Private Sub cmdCancel_Click()
Unload Me
MilestoneForm.Show
End Sub

This is a similar code I used in another file and this works perfect.
Private Sub cmdCancel_Click()
Unload Me
ufrmsiteInfo.Show
End Sub

Any ideas what is going on where?
Thanks