Hi Jeff,
1. Copy and paste the two functions into a module.
2. Create a new form. In design view add two textboxes. Call the first textbox "txtIPX" and the second "txtIP". Also add a command button and call it cmdConvert.
3. Now, on the On_Click event of the 'cmdConvert' button, put in the following code (within the forms class module).
---------
Private Sub cmdConvert_Click()
On Error GoTo errConvert
'check txtIPX field contains a 32 bit network address
If Len(txtIPX) <> 8 Then '<--this only check that the IPX has 8 characters (ie simple check)
MsgBox "IPX field does not contain 8 characters"
Me.txtIP = "Unable to convert"
GoTo CleanUp
End If
'do the conversion
Me.txtIP = ConvertIPXtoIP(Trim$(Me.txtIPX.Value))
CleanUp:
Exit Sub
errConvert:
MsgBox "Error in cmdConvert_Click (" & Err.Number & "

" & Err.Description
Resume CleanUp
End Sub
-----------
This example illustrates how to implement the function. Of course, there are many other ways to use it, e.g., put the code on the after_update event of the txtIP field, thus you won't need a command button.
let me know if you want me to clearify anything further.
Cheers,
Dan