H
Hennie
Good Day,
I need to transfer data to Excel from Access to do some statistics. I ran a
macro in Excel to do some Descriptive Analysis and received to following:
Application.Run "ATPVBAEN.XLA!Descr", ActiveSheet.Range("d3:d1876"),
ActiveSheet.Range("$H$63"), "C", False, True
In order to be able to do an Application.Run it seems to me that I need to
declare the add-in "ATPVBAEN.XLA" file first. I tried to declare it as
follow:
Dim xlApp As Application
and set it as follow:
Const adhcXLSName = "ATPVBAEN.XLA"
Const adhcXLSPath = "C:\Program Files\Microsoft
Office\Office10\Library\Analysis\"
Set xlApp = GetObject(adhcXLSPath & adhcXLSName)
If I run the program I receive the following message:
Run-time error '-2147467259 (80004005)
Automation error
Unspecified error
Thank you for your time.
Hennie
I need to transfer data to Excel from Access to do some statistics. I ran a
macro in Excel to do some Descriptive Analysis and received to following:
Application.Run "ATPVBAEN.XLA!Descr", ActiveSheet.Range("d3:d1876"),
ActiveSheet.Range("$H$63"), "C", False, True
In order to be able to do an Application.Run it seems to me that I need to
declare the add-in "ATPVBAEN.XLA" file first. I tried to declare it as
follow:
Dim xlApp As Application
and set it as follow:
Const adhcXLSName = "ATPVBAEN.XLA"
Const adhcXLSPath = "C:\Program Files\Microsoft
Office\Office10\Library\Analysis\"
Set xlApp = GetObject(adhcXLSPath & adhcXLSName)
If I run the program I receive the following message:
Run-time error '-2147467259 (80004005)
Automation error
Unspecified error
Thank you for your time.
Hennie