Myslím, že správne by si mal zapísať:
MojaOblast.FormulaR1C1 = "RANDBETWEEN(" & najmensie & "," & najvecsie & ")"
stačí i:MojaOblast.Formula = "RANDBETWEEN(" & najmensie & "," & najvecsie & ")"citovat
MojaOblast.FormulaR1C1 = "RANDBETWEEN(" & najmensie & "," & najvecsie & ")"
stačí i:MojaOblast.Formula = "RANDBETWEEN(" & najmensie & "," & najvecsie & ")"citovat