[COLOR=#333333]If Range("J15").value=4 then[/COLOR]
[COLOR=#333333] Workbooks("receipt file.xlsm").Sheets(array("1","2","3","4")).printout[/COLOR]
[COLOR=#333333]End if[/COLOR]
Sub Maybe()
Dim wb1 As Workbook, wb2 As Workbook, i As Long
Application.ScreenUpdating = False
Set wb1 = ThisWorkbook
Set wb2 = Workbooks.Open("c:\ tournament\bad beat\ receipt file.xlsm")
For i = 1 To wb1.Sheets("Sheet1").Range("J15").Value '<---- Change sheet name to actual name
wb2.Sheets(i).PrintOut
Next i
wb2.Close False
Application.ScreenUpdating = True
End Sub