K
Kuzemdoo Dawuni
Hi all,
I have a problem that does not just want to execute.
I have a sub as follows
Sub OutputResult(optional InCell as Range)
if IsMissing(InCell)
InCell.Value = 123
end if
end sub
I call the is sub with
call OutputResult(Worksheets("output").Range("B1))
Everything works fine but the "if IsMissing(InCell)" statement is always not
executed whether or not I provide a range value.
Any help will be greatly appreciated
Kuze
I have a problem that does not just want to execute.
I have a sub as follows
Sub OutputResult(optional InCell as Range)
if IsMissing(InCell)
InCell.Value = 123
end if
end sub
I call the is sub with
call OutputResult(Worksheets("output").Range("B1))
Everything works fine but the "if IsMissing(InCell)" statement is always not
executed whether or not I provide a range value.
Any help will be greatly appreciated
Kuze