Nadya,
If you comment out the oXLS.ActiveWindow.SelectedSheets.PrintPreview line, it should simply display the sheet (when the oXls.visible = .t. executes).
>
>Ok, another question: Is it possible to turn it to Normal excel view not the Preview?
>
Steve Gibson