Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a few reports that need to be printed daily, There are some that are
the same everyday, I have no problems with them, I have a daily inventory that needs to be printed out for the day that it is recorded. I have a macro that is to print the inventory automatically, but it is not working as I had hoped. Look it over and see where my problem may be. Any help would be greatly appreciated. Sheets("Week 2").Select With ActiveSheet If .Range("L7").Value = "yes" Then Sheets("Daily Inventory Friday 2").Select .PrintOut Copies:=1, Collate:=True End If End With Sheets("Week 2").Select With ActiveSheet If .Range("L9").Value = "yes" Then Sheets("Daily Inventory Saturday 2").Select .PrintOut Copies:=1, Collate:=True End If End With Sheets("Week 2").Select With ActiveSheet If .Range("L11").Value = "yes" Then Sheets("Daily Inventory Sunday 2").Select .PrintOut Copies:=1, Collate:=True End If End With Sheets("Week 2").Select With ActiveSheet If .Range("L13").Value = "yes" Then Sheets("Daily Inventory Monday 2").Select .PrintOut Copies:=1, Collate:=True End If End With Sheets("Week 2").Select With ActiveSheet If .Range("L15").Value = "yes" Then Sheets("Daily Inventory Tuesday 2").Select .PrintOut Copies:=1, Collate:=True End If End With Sheets("Week 2").Select With ActiveSheet If .Range("L17").Value = "yes" Then Sheets("Daily Inventory Wednesday 2").Select .PrintOut Copies:=1, Collate:=True End If End With Sheets("Week 2").Select With ActiveSheet If .Range("L19").Value = "yes" Then Sheets("Daily Inventory Thursday 2").Select .PrintOut Copies:=1, Collate:=True End If End With Sheets("Week 2").Select End Sub |