Visual Builder Excel Plugin - Pre Upload Macro
Summary
How o create Pre Uplaod Macro in Excel PluginContent
I'm trying to use pre upload plugin , the documentation mentions that the macro should return true. The functions return value are not detected.
Function GetAmount() As Boolean
MsgBox "Done1"
GetAmount = True
End Function
The above function returns true, but plugin fails with error below.
Information: Oracle.VisualBuilder.Excel.Runtime.Status.LayoutStatusViewer.Notify: Invoking pre-upload macro: {0}...
Verbose: oacw.excel.om.api.ExcelApplication.Run: Attempting to run macro: GetAmount()
Verbose: oacw.excel.om.api.ExcelApplication.Run: Macro run complete. Return value: -2146826273
Verbose: Oracle.VisualBuilder.Excel.Runtime.Table.TableUploadHelper.InvokePreUploadMacro: Unable to parse macro return value: -2146826273 (Int32)