LoginSignup
4
1

More than 1 year has passed since last update.

64Bit版Excel VBAとSAPの連携方法

Posted at

はじめに

SAPとExcel VBAの連携方法を検索すると、64Bit版Excelは未対応というような古い記事をよく見かけます。
SAP GUI760まではRFCコントロールが32Bit版しか存在せず面倒な方法が必要でしたが、SAP GUI770で64BitのRFCコントロールがリリースされており、これを使用することで64Bit版Excelも問題なく使えるようになりました。
※参考:2796898 - SAP GUI for Windows 7.70 の新機能および変更された機能 ※要S-User ID

以下のとおり、SAP GUIのインストールオプションに「64Bit RFC Controls」が追加されています。
スクリーンショット_20230121_131940.png

使用方法

以下のリンク先にBAPI実行ツールのExcelマクロを置いています。受注伝票登録のサンプルデータも入れていますのでご参照ください。

関連記事

4
1
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1