(PeteCresswell)
unread,May 21, 2012, 8:39:41 PM5/21/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I've got an environment where both Excel 11 and 12 have been
installed for a year or so.
Excel 11, however, was the default version.
But recently somebody's Excel app broke when the data exceeded
65,000 lines. Accordingly, The Powers That Be changed the
environment so that Excel 12 became the default.
That, in turn, broke my Access 2003 app that instantiated Excel
in order to use it's macros (specifically AccrIntM and Yield).
AccrIntM was no problem. I checked the version of Excel before
calling it and used "Run" for 11 and "WorkSheetFunction" for 12.
Yield, however, is not so amenable.
Bottom line: has anybody succeeded in forcing the instantiation
of Excel 11 when both are installed but 12 is the default?
I've tried CreateObject("Excel.Application.11"), but VBA seems to
ignore the ".11" and just instantiate the default.
--
Pete Cresswell