0

I just upgraded to Windows 10 and Excel 2016 and now my VBA app doesn't work:

set x = CreateObject("SAP.Functions")

I get this error:

runtime error 429 ActiveX component can’t create object

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Tom McDonald
  • 1,532
  • 2
  • 18
  • 37

1 Answers1

0

The solution was to install Office 32-bit version. For some reason the 64-bit Office doesn't support the "SAP.Functions" even though the SAP DLLs and OCXs were correctly installed and registered.

Tom McDonald
  • 1,532
  • 2
  • 18
  • 37
  • Hi Tom...it's been a couple of years and I'm wondering if you know if this issue has been rectified. My thought was that SAP has not updated their rfc-related library files to work with 64-bit Office...maybe they have by now. I need 64-bit to work so Excel can use more than 1.6GB of memory to extract a huge table out of SAP. This task crashes on a 32-bit Excel on a VM when Excel RAM use hits 1.6GB. If I can't make this work, I'm going to have to figure out how to split the job into smaller pieces...doable (I think), but as you may know this can be a pain to manage. – MBB70 Mar 20 '19 at 16:33
  • 1
    also, check for "ALGORITM" on http://www.fastgeneticalgorithmsoftware.com/ – MBB70 Mar 20 '19 at 16:37
  • Good catch on my spelling...my fix from 2 years ago is still working so I haven't touched it. – Tom McDonald Mar 21 '19 at 17:42