DIVINEDAR0956
IS-IT--Management
I have the following code in excel:
Sub Print_Year1_Sheets()
Sheets("PROJECT_INFORMATION"
.Activate
Do While cursheet < last_sheet
Go_NextSheet
If Range("T44"
> 0 Then
Set_PrintSettings
Range("A1:R46"
.Select
Selection.PrintOut Copies:=1
End If
Loop
End Sub
My problem is that it will only print year1 and I have 5 years to print. The range is different for all 5 years and each sheet has a 5 year span. For some reason This will print year 1 only and not the other years.
Please help!!!![[machinegun] [machinegun] [machinegun]](/data/assets/smilies/machinegun.gif)
Sub Print_Year1_Sheets()
Sheets("PROJECT_INFORMATION"

Do While cursheet < last_sheet
Go_NextSheet
If Range("T44"

Set_PrintSettings
Range("A1:R46"

Selection.PrintOut Copies:=1
End If
Loop
End Sub
My problem is that it will only print year1 and I have 5 years to print. The range is different for all 5 years and each sheet has a 5 year span. For some reason This will print year 1 only and not the other years.
Please help!!!
![[machinegun] [machinegun] [machinegun]](/data/assets/smilies/machinegun.gif)