I am getting a "type mismatch 13" error on this line
All vba variables are defined as strings. All fields in the table are text.
mafhobb
Code:
PrinterSel = Nz(DLookup("Device", "tblPrinterSelection", "Doc='" & DocumentType & "'" And "Computer='" & sHostName & "'"), "No Printer")
All vba variables are defined as strings. All fields in the table are text.
mafhobb