Advertisement
Advertisement
| 07.02.2008 at 05:55AM PDT, ID: 23533324 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: |
Public Function FncAVSA(strCliNum As String)
'Set Excel object, recordset and querydef
Dim objExcel As Excel.Application
Set objExcel = New Excel.Application
Dim cnt As Integer
Dim cnt1 As Integer
Dim cnt2 As Integer
Dim y As Integer
'Open AVSA Report
objExcel.Workbooks.Open "C:\Data\AVSA.xls", , 1
objExcel.Visible = True
With objExcel
.Range("A1").ClearContents
.Range("B1").ClearContents
.Range("C1").Value = "AQR"
.Range("E1").Value = "BQR"
.Range("G1").Value = "CQR"
.Columns("O:O").Delete
.Range("A1").Select
.Selection.EntireRow.Insert
.Selection.EntireRow.Insert
.Range("A4").Select
.Selection.EntireRow.Insert
.Range("A5").Select
cnt = .Range(Selection, Selection.End(xlToRight)).Column.Count
'Debug.Print cnt
.Range("A1:" cnt & "1").Select
.Selection.Merge
.Range("A1").Value = "Availability Summary"
.Range("B1", cnt & "2").Select
.Selection.Merge
.Range("B1").Value = "(in thousands)"
cnt1 = (cnt / 2) - 3
.Range("C1:H1").Select
.Selection.Copy
.Range(cnt1 & "3").Select
.Selection.PasteSpecial
.Range("A5").Value = "Date"
.Range("B5").Value = "Beginning"
.Range("B6").Value = "GrossAR"
.Range("C5").Value = "Cash"
.Range("C6").Value = "Advanced"
.Range("D5").Value = "Interest"
.Range("D6").Value = "Charges"
.Range("E5").Value = "Insurance"
.Range("E6").Value = "Charges"
.Range("F5").Value = "Discount"
.Range("F6").Value = "Reserves"
.Range("G5").Value = "Other"
.Range("C4:G4").Select
.Selection.Merge
.Range("C4").Value = "VOLUME"
.Range("H4:L4").Select
.Selection.Merge
.Range("H4").Value = "LIQUIDATION"
.Range("H5:I5").Select
.Selection.Merge
.Range("H5").Value = "Cash Collections"
.Range("H6").Value = "$"
.Range("I6").Value = "%"
.Range("J5").Value = "Int&Ins"
.Range("J6").Value = "Refunds"
.Range("L5").Value = "Other"
.Range("N5").Value = "Ending"
.Range("N6").Value = "GrossAR"
.Range("O5:P5").Select
.Selection.Merge
.Range("O5").Value = "UnearnedsDiscountsDlrReservesEtc"
.Range("O6").Value = "$"
.Range("P6").Value = "%"
.Range("Q5:R5").Select
.Selection.Merge
.Range("Q5").Value = "Ineligibles"
.Range("Q6").Value = "$"
.Range("R6").Value = "%"
.Range("A7").Select
cnt2 = .Range(Selection, Selection.End(xlDown)).Rows.Count
For y = 8 To cnt2
.Range("A" & y).Select
.Rows("y:y").Select
With Selection.Interior
.ColorIndex = 15
.Pattern = xlSolid
End With
y = y + 2
Next
End With
With objExcel.ActiveSheet.PageSetup
.CenterHeader = strCliNum
.CenterFooter = "Wells Fargo Confidential"
.RightFooter = "EXHIBIT E"
.LeftMargin = .InchesToPoints(0.5)
.RightMargin = .InchesToPoints(0.5)
.TopMargin = .InchesToPoints(0.5)
.BottomMargin = .InchesToPoints(0.5)
.HeaderMargin = .InchesToPoints(0.5)
.FooterMargin = .InchesToPoints(0.5)
.PrintGridlines = True
.Orientation = xlLandscape
.FitToPagesWide = 1
.FitToPagesTall = 1
End With
End Function
|