Closing Excel without saving data

Closing Excel without saving data

Postby Marc Vanzegbroeck » Wed Sep 30, 2015 10:18 am

Hi,

In an application i'm writing, I open an excel-file, select and copy data to the clipboard, and want to close the excel again.
It's working nice, but the problem is that excel ask:
- Do want to save the changes?
- Do you want to leave the data in the clipboard?

Is it possible to close it without those messages?

Thanks
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Closing Excel without saving data

Postby Antonio Linares » Wed Sep 30, 2015 10:34 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Closing Excel without saving data

Postby Antonio Linares » Wed Sep 30, 2015 10:36 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Closing Excel without saving data

Postby Marc Vanzegbroeck » Wed Sep 30, 2015 11:26 am

Thank you Antonio.

It's working now with
Code: Select all  Expand view
oExcel:Displayalerts(.f.)
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 59 guests