The following code prints out a workbook on a printer. When I press the button I want a messagebox to appear wich asks how many copies I want. How can I add this to the code?
Dim strSheetNames As String
Dim intC As Integer
With ActiveWorkbook
For intC = 1 To .Worksheets.Count
If .Worksheets(intC).Name <> "Berekening" Then _
strSheetNames = strSheetNames & .Worksheets(intC).Name & ", "
Next intC
strSheetNames = Left(strSheetNames, Len(strSheetNames) - 2)
Worksheets(Split(strSheetNames, ", ")).PrintOut _
Copies:=1, ActivePrinter:="maxxus01HPColor", Collate:=True
End With
End Sub
tnx
Gerben (again)



