on error resume next
val=DataTable(“ParamName”,dtGlobalSheet)
if err.number 1 then
‘Parameter does not exist
else
‘Parameter exists
end if
Code highlighted above is not logically correct. Select the correct code from the options Provided

A.  if err.number 2 then
B.  if err.number val then
C.  if err.number “ParamName” then
D.  if err.number 0 then

Ans: D