Problem with Excel

Problem with Excel

Postby Silvio.Falconi » Wed Sep 19, 2018 5:03 pm

After conversion of a Xls file I tried to open Excel and Excel sad me the xls file is open on another application... why ?

I made:

Code: Select all  Expand view
oRange := GetExcelRange(cFileXls , , @lOpened)
FW_ExcelToDBF( oRange, nil, .t. )
oRange := NIL


I must close the xls file also ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6897
Joined: Thu Oct 18, 2012 7:17 pm

Re: Problem with Excel

Postby Marc Venken » Wed Sep 19, 2018 8:39 pm

Try this :

oRange:WorkSheet:Parent:Close()
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1397
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 80 guests