VBA converter: Collection/Dictionary, Rnd(), UserForm control .Text and...
Brought to you by:
maragon
Originally created by: M4R4G0N
Reported by the user while converting a real .xlsm (LOFA_POSICIONAL_P1_P15). Items listed as not converted:
New Collection, .Add, .Count, col(i) (Collection) — currently Tipo::Impossivel in gerar/contexto.rs (Dictionary too). Map to a JS array (1-based) / Map.Rnd() with empty parentheses: "função Rnd sem equivalente" although rnd maps to Math.random() in gerar/funcoes.rs.txtQtdJogos.Text → "objeto txtQtdJogos desconhecido" (the control should resolve to sheet.field("txtQtdJogos").value).Call ProcessarDesdobramento(QtdJogos) from the form → "função sem equivalente": a Sub of a standard module called from the form.UserForm_Click event has no equivalent (warning only).Ask the user for the .xlsm to use as test fixture.