Once you converted, you should have a function name.
Example:
Function MyJob()
blah blah blah
End Function
To use this function if it is not returning a resultant value, in code:
Call MyJob()
If it is returning a value use a variable, for example:
Dim results as string (or whatever your result returns)
Results = MyJob()