I have used the Common Dialog box in VB and got it to work OK.
I need to use in Access.
I added it to the form and it comes up OK.
And I can choose a printer.
But I need to know the name of the printer choosen
Any ideas which property this is in?
here is my code so far
Dim y As Printer
For Each y In Printers
If y.defaultprinter = True Then
' Set printer as system default.
Set Printer = y
' Stop looking for a printer.
Exit For
End If
Next
DougP, MCP
I need to use in Access.
I added it to the form and it comes up OK.
And I can choose a printer.
But I need to know the name of the printer choosen
Any ideas which property this is in?
here is my code so far
Dim y As Printer
For Each y In Printers
If y.defaultprinter = True Then
' Set printer as system default.
Set Printer = y
' Stop looking for a printer.
Exit For
End If
Next
DougP, MCP