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.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

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!

7.7

Selecting cells to merge

Asked by nfstrong in Microsoft Excel Spreadsheet Software, Microsoft Access Database

Tags: , ,

I am using the TransferSpreadsheet command in Access to export to Excel.  I'm then calling this function to add formatting.  I'm having an issue on line 28 getting the correct cells selected to merge.  I would like to select row 1 columns A to cnt.  I'm not sure if Range is correct or if I should use Cells.
Start Free Trial
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
[+][-]07.02.2008 at 06:03AM PDT, ID: 21915884

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 06:06AM PDT, ID: 21915910

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 06:12AM PDT, ID: 21915952

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 07:04AM PDT, ID: 21916451

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 07:12AM PDT, ID: 21916548

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 07:16AM PDT, ID: 21916595

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 07:18AM PDT, ID: 21916627

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 07:26AM PDT, ID: 21916720

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 07:36AM PDT, ID: 21916841

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 09:03AM PDT, ID: 21917818

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 09:21AM PDT, ID: 21918030

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 09:33AM PDT, ID: 21918140

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 12:56PM PDT, ID: 21920083

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 01:04PM PDT, ID: 21920160

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 01:08PM PDT, ID: 21920192

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 01:25PM PDT, ID: 21920365

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Excel Spreadsheet Software, Microsoft Access Database
Tags: Microsoft, Access, 2003
Sign Up Now!
Solution Provided By: RodgerDjr
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.02.2008 at 01:36PM PDT, ID: 21920479

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 03:41PM PDT, ID: 21921481

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 07:57AM PDT, ID: 21945598

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 08:25AM PDT, ID: 21945885

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 09:53AM PDT, ID: 21946654

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 11:28AM PDT, ID: 21947405

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 11:54AM PDT, ID: 21947580

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 12:26PM PDT, ID: 21947858

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 12:49PM PDT, ID: 21948063

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 02:18PM PDT, ID: 21948760

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 06:36AM PDT, ID: 21953632

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 06:57AM PDT, ID: 21953857

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 07:28AM PDT, ID: 21954148

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 08:04AM PDT, ID: 21954497

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 08:20AM PDT, ID: 21954659

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 08:32AM PDT, ID: 21954811

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 08:36AM PDT, ID: 21954862

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 09:33AM PDT, ID: 21955490

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 11:24AM PDT, ID: 21956560

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 11:29AM PDT, ID: 21956619

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 11:33AM PDT, ID: 21956656

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 11:42AM PDT, ID: 21956732

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 07:10AM PDT, ID: 21963750

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 07:21AM PDT, ID: 21963881

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 07:34AM PDT, ID: 21964023

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 07:45AM PDT, ID: 21964167

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 07:55AM PDT, ID: 21964293

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 08:23AM PDT, ID: 21964662

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42 / EE_QW_2_20070628