I have a label that needs to print out when a part comes in, but I want a message box to pop up to ask how many copies of the label do they want to print. This is my code so far. Where the Docmd.Print is, I have 2 for the copies, but I want a message box that the user will enter how many they want.
[CODE=vb]Private Sub Command32_Click ()
'Open report in Preview mode
DoCmd.OpenRepor t "Labels Part Labels Dymo", acViewPreview
'Print out specified number of report copies
DoCmd.PrintOut , , , , 2
End Sub[/CODE]
[CODE=vb]Private Sub Command32_Click ()
'Open report in Preview mode
DoCmd.OpenRepor t "Labels Part Labels Dymo", acViewPreview
'Print out specified number of report copies
DoCmd.PrintOut , , , , 2
End Sub[/CODE]
Comment