P
perldev
I have the following code:
sub foo()
dim record as range
set record = Range("A" & ActiveCell.row & ":K" & ActiveCell.row)
record.select
Upload(record)
end sub
public sub Upload(ByRef r as Range)
.....
end sub
It keeps throwing out error: "run-time error 424, Object required",
what's wrong?
debug.print record.Address(external:=true) shows:
[Junk.xls]Sheet1!$A$6:$K$6
sub foo()
dim record as range
set record = Range("A" & ActiveCell.row & ":K" & ActiveCell.row)
record.select
Upload(record)
end sub
public sub Upload(ByRef r as Range)
.....
end sub
It keeps throwing out error: "run-time error 424, Object required",
what's wrong?
debug.print record.Address(external:=true) shows:
[Junk.xls]Sheet1!$A$6:$K$6