P
(PeteCresswell)
I'm running into something around some machines having
Excel 11 on them and other machines having Excel 12 on them.
With an Excel 11 machine, no problem.
But on Excel 12 machines, this code (in an MS Access routine)
dies with "1004: Cannot run the macro 'AccrIntM'. The macro may
not be available in this
workbook or all macros may be disabled."
---------------------------------------------------------------------
16080 myResult = gExcelApp.Run("AccrIntM", _
myPaymentDateLast, _
mySettlementDate, _
myCouponRate, _
myParAmount, _
myBasis _
)
---------------------------------------------------------------------
I'm assuming that the message reflects the problem - i.e. no
parms/editing have changed from 11 to 12 and the problem is that
my code isn't getting to "AccrIntM".
My first suspicion was something with MS having disabled macros
by default, but they seem tb enabled when I open up Excel.
Maybe some other little security twist where other applications
can't reach out and touch Excel without some setting?
Excel 11 on them and other machines having Excel 12 on them.
With an Excel 11 machine, no problem.
But on Excel 12 machines, this code (in an MS Access routine)
dies with "1004: Cannot run the macro 'AccrIntM'. The macro may
not be available in this
workbook or all macros may be disabled."
---------------------------------------------------------------------
16080 myResult = gExcelApp.Run("AccrIntM", _
myPaymentDateLast, _
mySettlementDate, _
myCouponRate, _
myParAmount, _
myBasis _
)
---------------------------------------------------------------------
I'm assuming that the message reflects the problem - i.e. no
parms/editing have changed from 11 to 12 and the problem is that
my code isn't getting to "AccrIntM".
My first suspicion was something with MS having disabled macros
by default, but they seem tb enabled when I open up Excel.
Maybe some other little security twist where other applications
can't reach out and touch Excel without some setting?