Even though source code made by SAP GUI Scripting (Recording) is .vbs file, it is not executed on excel VBA directly. If copy and past code from the .vbs file and run it, you can see below error message. Compile Error Invalid Use of property Problematic part of the code is below. This is very beginning part of code which is from SAP Scripting. The error occurs because the variable 'application' ..