Hi! I tried to get the Menubar in a var(table) and then display the content as string in a textbox but I get this runtime error.
[3]: tblFileMenu = Application.GetMenu();
TRACE: LastError = 0 ("Success.")
[2]: result = Table.Concat(tblFileMenu, ";", 1, TABLE_ALL);
TRACE: LastError = 2901 ("A runtime error occurred while calling the function.")
[4]: Input.SetText("Input1", result);
TRACE: LastError = 0 ("Success.")
Does anyone know why it does not work?
[3]: tblFileMenu = Application.GetMenu();
TRACE: LastError = 0 ("Success.")
[2]: result = Table.Concat(tblFileMenu, ";", 1, TABLE_ALL);
TRACE: LastError = 2901 ("A runtime error occurred while calling the function.")
[4]: Input.SetText("Input1", result);
TRACE: LastError = 0 ("Success.")
Does anyone know why it does not work?
Comment