This is the module I was handed down.
Sub Test2()
Dim rst As ADODB.Recordset
Dim appROneHours As Excel.Application
Dim wkbROneHours As Excel.Workbook
Dim TaskArray(1 To 12) As Variant
TaskArray(1) = "01 - Design"
TaskArray(2) = "02 - Code Generation"...
This code checks to see if the app is running, but how can you kill it if it was running? so you don't get
Method 'Worksheets' of object '_Global' failed.
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.