Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
What's wrong with this code....
any type conversion error??????
set v1=ActiveDocument.Fields("Age").GetPossibleValues
set s1=int(trim(v1.item(0).text))
s2=s1+10
msgbox(s2)
Hi Sivaramanak,
This is the right code:
sub test
set v1=ActiveDocument.Fields("Age").GetPossibleValues
s1=Int(trim(v1.item(0).text))
s2=s1+10
msgbox(s2)
end sub
Best regards.
Hi Sivaramanak,
This is the right code:
sub test
set v1=ActiveDocument.Fields("Age").GetPossibleValues
s1=Int(trim(v1.item(0).text))
s2=s1+10
msgbox(s2)
end sub
Best regards.