View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
sebastienm sebastienm is offline
external usenet poster
 
Posts: 694
Default Excel:Runtime Error 7 "Not enough Memory" with CreateObject (SAP.B

Hi,
One idea: Have you tried early binding by setting a reference to the SAP BAPI library (menu Tools References)?
--
Regards,
Sébastien
PS: Rating a post as €śthe answer€ť helps searches and gives the answerer credit for their contribution.


"E.Soriani" wrote:

I have an excel application that has the following code:

Dim oBAPICtrl As Object
Set oBAPICtrl = CreateObject("SAP.BAPI.1")

This application creates from excel orders in SAP. It worked good with windows 2002 but not with window XP:

Runtime Error 7 "Not enough Memory" with CreateObject (SAP.BAPI)