Excel (64-Bit) VBA code to connect to SAP to execute a remote function call (RFC)

RawlinsCross

Active Member
Joined
Sep 9, 2016
Messages
437
So I'm trying to access SAP inside excel to execute a remote function call.

My machine runs 64-bit excel and from my research, most returns seem to be describing 32-bit library code. I'm looking for those excel users who may have experience in this matter.
I have found the four *.ocx control files and added them as references but are they 32-bit or 64-bit? (How can you tell?)

I'm trying code bits on the web but I can't seem to get anything to work. So yeah, if there's a user who is actively engaged in RFCs on a 64-bit machine, I'd love to hear from you. :)

ocx libraries (32-bit? 64-bit?)
c:\program files (x86)\sap\frontend\sapgui\wdtaocx.ocx (SAP Table Factory)
c:\program files (x86)\sap\frontend\sapgui\wdobapi.ocx (SAP BAPI Control)
C:\Program Files (x86)\Common Files\SAP Shared\wdtlog.ocx (SAP Logon Control)
c:\program files (x86)\sap\frontend\sapgui\wdtfuncs.ocx (SAP Remote Function Call Control)

 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,223,240
Messages
6,170,951
Members
452,368
Latest member
jayp2104

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top