ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel:Runtime Error 7 "Not enough Memory" with CreateObject (SAP.B (https://www.excelbanter.com/excel-programming/304925-re-excel-runtime-error-7-not-enough-memory-createobject-sap-b.html)

sebastienm

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)



All times are GMT +1. The time now is 08:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com