I am currenty working on a project, what I was is to dim these three txt boxes as long so the "" quotes will stop appearing and interfearing with the cmd file.
Any help out there??

I keeping getting a : "Type Mismatch" error - It highlights the Dim trace and the dim pause. Help!




Private Sub cmdScan_Click()
If Not IsNumeric(txtipadress) Then
MsgBox "Please enter a numeric value only!", vbInformation + vbOKOnly, "Incorrect Information"
txtipadress.SetFocus
End If

Dim telnum As Long
telnum = txtipadress



Dim trace As Long
trace = txttrace



Dim pause As Long
pause = txtPause


filename = "C:\ip.cmd"
Open filename For Output As #1
Write #1, telnum, trace, pause