well, you are looking for something like:

? "name: " + $oxl.Sheets("Sheet4").Name

See: IDispatch Error by $objconn.Execute Command
_________________________
Home page: http://www.kixhelp.com/hb/