Message 1 of 5

Not applicable
10-16-2020
02:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I seem to be getting an error when running this code, its opens excel but the code errors out and opens the iLogic window again, any ideas? It runs fine up until the excelApp line.
Dim oDefault3 As String
oDefault3 = Parameter("DR_Location")
Dim oLocation3 As String
iProperties.Value("Custom", "DR_Location") = oLocation3
oLocation3 = iProperties.Value("Custom", "DR_Location")
If Dir(oLocation3)<>""
ThenGoExcel.Open(oLocation3, "DR_Location")
excelApp = CreateObject("Excel.Application")
excelApp.Visible = True
excelWorkbook = excelApp.Workbooks.Open(oLocation3)
excelSheet = excelWorkbook.Worksheets("Config").activate
RuleParametersOutput()
iLogicVb.UpdateWhenDone = True
End If
Solved! Go to Solution.