Hi
thanks for ur reply but this code is not working. I want to close worksheets of a same excel workbook which r opened through different submenus of a form through some code.
thanks
How can i close multiple instances of excel using visual basic.
I am opening worksheets of a same excel workbook through vb and when i try to close them it closes only the last instances.
here's my code:
Dim xlCurrent As excel.Application
Dim wbCurrent As Workbook
Private Function openExcel()...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.