Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50090

424 Object Required error when referencing an array in a UDF

$
0
0
I'm a total VBA noob, and have close to zero programming skills. Can anyone explain why I'm getting a 424 Object Required error on the first line where I try to use an array after I've defined it?

Here's where I define the array:

MyArray = Range("A" & (FirstRow) & ":B" & (LastRow)).Value

and here's the line that the code bugs out on:

MyVar = Analytic_Array(1, 1).Value

I just can't figure out why this isn't working! :confused: Anybody have any idea what I'm doing wrong?

Viewing all articles
Browse latest Browse all 50090

Trending Articles