There are a lot of examples available on this forum about this issue.
Make use of this forum's fantastic search tool and look for words like
"open,close,quit,save,visible" etc...
Or you could do a Google search for Excel+VB 6.0 to get started (52.900 hits !)
Still in trouble later don't mind to post a new question then.