|
-
Sep 12th, 2016, 06:48 AM
#1
Thread Starter
New Member
Quit MS Excel
Hallo,
I am trying to open, edit and then close an Excel workbook.
I am not able to quit the excel workbook properly. (An instance is still visible in Task manager).
Can anyone please let me know the proper commands to quit excel completely ?
Here is the code, how I am opening the excel to edit :
Dim xlApp As New Excel.Application
Dim xlWorkBook As Excel.Workbook
Dim xlWorkSheet As Excel.Worksheet
xlWorkBook = xlApp.Workbooks.Open(Excel_path)
xlWorkSheet = xlWorkBook.Worksheets("Sheet1")
I can edit the excel but cannot close it.
Thank You very much in advance.
Regard's,
Pratik
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|