I do not belive that creating an instance of IE would cause your application to loose focus.
>When i do
>
>loobj = createobject("internetexplorer.application")
>
>The application looses focus and when the variable goes out of scope the application gets scope back.
>
>How do i prevent the application from loosing focus ???
>
--sb--