View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Harbinger Harbinger is offline
external usenet poster
 
Posts: 4
Default Hiding a Form that's not open

if form1.visible then
Form1.Hide
endif


"kirkm" wrote:

I suspect you can only run

Form1.Hide

when Form1 is open.

I'm getting run time error 380, even with

On Error GoTo 0
Form1.Hide
On Error Resume Next

So, how do you determine if Form1 is Open, so the Hide command can be
conditional ?

Thanks - Kirk