Skip to Content
avatar image
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

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    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