Sub PrintAllSheets()
'Assuming first sheet name is in cell D2:
Dim c As Range
'loop through all values in column D
For Each c In Range("D2:D" & Range("D" & Rows.Count).End(xlUp).Row)
Worksheets(c.Value).PrintOut
Next c
End Sub
Private Sub Workbook_Open( )
Application.OnTime TimeValue("15:00:00"), "MyMacro"
End Sub
Code:Sub PrintAllSheets() 'Assuming first sheet name is in cell D2: Dim c As Range 'loop through all values in column D For Each c In Range("D2:D" & Range("D" & Rows.Count).End(xlUp).Row) Worksheets(c.Value).PrintOut Next c End Sub
Code:Private Sub Workbook_Open( ) Application.OnTime TimeValue("15:00:00"), "MyMacro" End Sub
Code:Sub PrintAllSheets() 'Assuming first sheet name is in cell D2: Dim c As Range 'loop through all values in column D For Each c In Range("D2:D" & Range("D" & Rows.Count).End(xlUp).Row) Worksheets(c.Value).PrintOut Next c End Sub
Code:Private Sub Workbook_Open( ) Application.OnTime TimeValue("15:00:00"), "MyMacro" End Sub
DoEvents ' Print Process
If w_sMemoryTime = "18:00:00" Then
Sheets(Array("1C Ink Flow", "2C Ink Flow", "6C Ink Flow")).PrintOut
End If