My first VBA codes - Run-Time error 424: Object required.


I am just started to learn VBA. My first code to generate random number:-

[italic]Sub Easy6()

EasyFitXL.Randomize seed:=0
Rnum = EasyFitXL.UniformRand(0, 1)
Range("a1").Value = Rnum

End Sub[/italic][b][/b]

When I run these codes in VBA, the error message : Run-time error '424' : Object required appear on the screen. Any mistake ?


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!