Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Cecil Champenois
  Where is Cecil Champenois?
 Little Elm
 Texas - United States
 Cecil Champenois
 To: Vladimir Zhuravlev
  Where is Vladimir Zhuravlev?
 Medvezhie ozera, Schelkovskiy raion
 Russia
 Vladimir Zhuravlev
 Tags
Subject: RE: Excel file with a name keeps opening
Thread ID: 311209 Message ID: 311228 # Views: 54 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Active X Controls & OLE Automation
Date: Wednesday, June 29, 2011 8:50:09 PM         
   


> Do you mean to close all in excel?
> oExcel.activeworkbook.close()
> oExcel.visible =.f.
> oExcel.quit()
> release oExcel
>
> MVP , www.foxclub.ru domain owner
> 100 friends are better than 100 dollars.

That only hides the problem.

The problem is that every time I create an instance of Excel, Excel names it to a previous name I had been using in my program. It does this on my work laptop; it is so intrusive that I cannot use my work laptop; I literally have to use my personal laptop now to run this program, due to the problem.

Cecil Champenois, Jr.

ENTIRE THREAD

Excel file with a name keeps opening Posted by Cecil Champenois @ 6/29/2011 5:28:38 PM
RE: Excel file with a name keeps opening Posted by Vladimir Zhuravlev @ 6/29/2011 7:40:24 PM
RE: Excel file with a name keeps opening Posted by Cecil Champenois @ 6/29/2011 8:50:09 PM
RE: Excel file with a name keeps opening Posted by Jun Tangunan @ 6/30/2011 1:00:03 AM
RE: Excel file with a name keeps opening Posted by Cecil Champenois @ 7/5/2011 4:01:29 PM