Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Settlemen rules excel macro

Former Member
0 Likes
766

Hello everyone. Many thanks for are reviewing this question.

I am trying to create a macro in order to automatize the settlement rules and I have a question. What VBA code can I use for the macro to recognize the first empty field?

As the image shows, what I want is that the Macro start filling out the information in the settlement rule from the first empty field.

I know this would be the code for the first empty cell in excel:

ActiveSheet.Range("a1").End(xlDown).Offset(1, 0).Select

But I do not know how to do it in SAP

I will realy appreciate your answers

Many thanks!

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
0 Likes
669

Do you want to code it using "SAP GUI Scripting" ? (SAP COM Library for scripting dynpros)

If so, you should say it in place of "VBA code" and add that user tag.