S
Sai
Hi,
When I open an excel workbook programatically data analysis doesnt
appear in the tool menu, whereas when I open workbook by
double-clicking it works fine. Following is the code how I open excel
workbook from VB app.
Dim objExl As Excel.Application
Dim strDocName As String
strDocName = "C:\test.xls"
Set objExl = CreateObject("Excel.Application")
objExl.Workbooks.Open strDocName
For Each ai In objExl.AddIns
If ai.Installed Then
objExl.Workbooks.Open(ai.FullName).RunAutoMacros 1
objExl.Workbooks.Open(ai.FullName).RunAutoMacros 3
End If
Next
objExl.Visible = True
objExl.Workbooks("test.xls").Activate
What needs to be done to make data analysis appear on the tools menu?
Appreciate your help.
Thanks
SAI
When I open an excel workbook programatically data analysis doesnt
appear in the tool menu, whereas when I open workbook by
double-clicking it works fine. Following is the code how I open excel
workbook from VB app.
Dim objExl As Excel.Application
Dim strDocName As String
strDocName = "C:\test.xls"
Set objExl = CreateObject("Excel.Application")
objExl.Workbooks.Open strDocName
For Each ai In objExl.AddIns
If ai.Installed Then
objExl.Workbooks.Open(ai.FullName).RunAutoMacros 1
objExl.Workbooks.Open(ai.FullName).RunAutoMacros 3
End If
Next
objExl.Visible = True
objExl.Workbooks("test.xls").Activate
What needs to be done to make data analysis appear on the tools menu?
Appreciate your help.
Thanks
SAI