How to check opened excel file closed or not from Navision
upasanisandip
Member Posts: 405
Hi,
I have opened excel file from Navision (used 'Microsoft Excel 11.0 Object Library'.Application). Now I want to check whether that file is closed or still open from Navision.
Is it possible?
thanks,
sandip.
I have opened excel file from Navision (used 'Microsoft Excel 11.0 Object Library'.Application). Now I want to check whether that file is closed or still open from Navision.
Is it possible?
thanks,
sandip.
0
Comments
-
You can try to open it for writing. If it fail, it is still opened. May be it will work.0
-
Thanks kine,
But my problem is different, I want to delete that file if it is closed.
I only want boolean value , files is closed "True" or "False"
If you know about Handler or sample code is threre (for excel application) then plz. post it.
many thanks0 -
The reult is True/False if done correctly. You can than use it in a loop or timer to check it and delete the file if you find out that the file is accessible.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
