try this
Private Sub CommandButton1_Click() ThisWorkbook.Windows(1).Visible = False UserForm1.Show End Sub On Wed, Apr 27, 2011 at 12:08 PM, NOORAIN ANSARI <noorain.ans...@gmail.com>wrote: > Dear Experts, > > How can Hide only workbook but userform should be visilble and work as it, > when we click on "*Eng In out Report*" button. > Please see attached sheet.. > > Thanks in Advance > > -- > Thanks & regards, > Noorain Ansari > > > > > -- > Thanks & regards, > Noorain Ansari > > -- *Regards* * * *Ashish Koul* *akoul*.*blogspot*.com <http://akoul.blogspot.com/> *akoul*.wordpress.com <http://akoul.wordpress.com/> My Linkedin Profile <http://in.linkedin.com/pub/ashish-koul/10/400/830> P Before printing, think about the environment. -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel