View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
april27 april27 is offline
external usenet poster
 
Posts: 27
Default Close user form when button is pressed

Hi! i have a button in a user form. when this button is pressed i want the
user form to close. however, i do not seem to manage this. in the code for
the button antother program is called. but the problem seems to be that the
buttons code is declared private and when i write Close userForm1 the
computer says it is incompatible types. help!!