Skip to Content
avatar image
Former Member

How can I scroll to the bottom of a page with VBS script recording?

I am writing a program that utilizes VBScript in order to grab data from SAP. When I load the large table of data, select it, and then copy it, I am getting a message saying that not all data is copied to the clipboard. If I scroll down before selecting the data the rows that were not copied become populated. So in my script I want the page to scroll down before selecting all the data and copying it.

I have looked into using the "sendkey" methods for the page down key but my research has led me to believe that this type of command does not actually work for SAP. The macro recorder also does not pick up my action of scrolling down manually.

Is there another way of doing this? Or am I am I mistaken about my previously attempted methods being wrong.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 01, 2017 at 04:33 AM

    Hello Alexander,

    you can find a solution for your problem here. We discuss the same problem in the context to load any table as CSV file from a grid. In this case we actualize all 32 lines the grid until we get the bottom of the table.

    Let us know your result.

    Cheers
    Stefan

    Add comment
    10|10000 characters needed characters exceeded