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

Howdy, Stranger!

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

Categories

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

James989James989 Posts: 3Member
Hi,

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 ?

Regards

James
Sign In or Register to comment.