Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent users closing Excel
Message
From
06/11/2001 22:27:21
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
 
 
To
06/11/2001 21:52:32
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00578344
Message ID:
00578353
Views:
16
This message has been marked as the solution to the initial question of the thread.
Hi Craig,
oExcelApp = CreateObject("Excel.Application")

WITH oExcelApp

    .Visible = .T.

    * ----- This will stop user intervention
    .Interactive = .F.

    * ----- Report Processing

    * ----- This will allow user intervention
    .Interactive = .T.

ENDWITH

RELEASE oExcelApp
Hope this helps,
Gavin...

>I am automating excel to create some report outputs and get an error if users attempt to close excel before it has finished.
>
>Is there some way to prevent users from closing the application till I am ready?
>
>I could simply make excel invisible until complete, but sales team think watching the fields populate is a "feature" .
>
>TIA,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform