Solve a Compilation Error while Updating the Graphs in UiPath

When you try to do update the graphs in UiPath using Invoke code activity and get a compilation error in Call line, you need to check the error message carefully. If the Call line is as following:

BC30574: Option Strict On disallows late binding

Dim oApp2 As Microsoft.Office.Interop.PowerPoint.Application

Dim tcaddin As Object

tcaddin = oApp2.COMAddIns.Item(“thinkcell.addin”).Object

Call tcaddin.UpdateChart(oPres, “name”, oRange, True)

Error message:

BC30574: Option Strict On disallows late binding

But, at the same time oPres and oRange are declared properly.

For solving this issue go to the link of Microsoft’s knowledge base:

https://support.microsoft.com/help/245115/using-early-binding-and-late-binding-in-automation

Or write to the support team on support@think-cell.com