Skip to Content
author's profile photo Former Member
Former Member

Script in worked in Excel 2003 not working in Excel 2007

Hi Experts,

I am getting error when running a script in Excel 2007; it worked fine with Excel 2003.

Error at line 4:

Set sapguiauto = GetObject("SAPGUI")

Set application = sapguiauto.GetScriptingEngine

Set connection = application.Children(0)

Set session = connection.Children(0)

Can you guys please help.

Thanks..

Regards,

Mani

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Mar 04, 2011 at 06:58 AM

    Hi Mani,

    Have you check the VB references? -Tools-->References

    BR

    D

    Add comment
    10|10000 characters needed characters exceeded