Sub printsheet()
Dim ws As Worksheet, wks As Worksheet
Set wks = Worksheets("Main")
Select Case wks.Range("A1").Value
Case 1
Worksheets("My Sheet1").PrintOut
Case 2
Worksheets("My Sheet2").PrintOut
Case 3
Worksheets("my sheet3").PrintOut
End Select
End Sub
https://ibb.co/dJXxsfC - this the excel image sample.
anyone can help, thank you very much.