Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6993663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:47:35+00:00 2026-05-27T19:47:35+00:00

I am looking at some code from my father’s VBA work. He isn’t a

  • 0

I am looking at some code from my father’s VBA work. He isn’t a pro at it and neither am I. There is a problem and we can’t figure it out. To figure it out, I need to know about the ListView‘s View propoerty. The View property is assigned lvwReport and I am checking it on Google but there is no definition or I am not able to find it. I am surprised because there is no mention of it on any of Microsoft resources either.

Is there anyone/any resource that can tell me what this is exactly?

Here is the code and there is no any other variable called lvwReport as far as I can see:

Private Sub UserForm_Initialize()
    ListView1.View = lvwReport
    ListView1.Gridlines = True
    ListView1.FullRowSelect = True
    ListView1.ListItems.Clear
    ListView1.ColumnHeaders.Clear

    With ListView1.ColumnHeaders
        .Add , , "MY COLUMN 1", 35
        .Add , , "MY COLUMN 2", 30
        .Add , , "MY COLUMN 3", 35
    End With

    For a = 2 To Cells(65000, 1).End(xlUp).Row
        ListView1.ListItems.Add , , Cells(a, "A").Value
        y = ListView1.ListItems.Count
        ListView1.ListItems(y).ListSubItems.Add , , Cells(a, "B").Value
        ListView1.ListItems(y).ListSubItems.Add , , Cells(a, "C").Value
        ListView1.ListItems(y).ListSubItems.Add , , Cells(a, "D").Value
    Next
End Sub

EDIT/NOTE: This is something from a lib called “Microsoft ListView Control 6.0 (SP6)”, I added it and problem resolved. However, I don’t understand what this is.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T19:47:36+00:00Added an answer on May 27, 2026 at 7:47 pm

    ListView is not native to VBA. Apparently you need to have VB6 installed. If from the VB Editor I select Tools, “Additional Controls” is greyed out. If you have VB6 installed, “Additional Controls” is available and will allow you to select Microsoft ListView.

    A ListView has a number of alternative views: Icon, Small Icon, List and Report. If you play with Windows Explorer’s View options, you will see these alternatives. lvwReport selects the Report view.

    Try googling “ListView VB” or “ListView VB6” for sites describing ListView.

    Another option is to download Visual Basic 2010 Express. This is part of the Visual Studio/.NET development environment. The learning curve from VBA syntax to VB 2010 syntax is small. VB 2010 comes with thousands of extra features of which ListView is one. Because ListView is native to VB 2010 it is properly documented. VB 2010 is blindingly fast compared with VBA. The Express versions of the .NET sofware are all free. They may be single user but they are more than adequate for training and initial development. Only when you are ready need you pay to upgrade to a fuller version. The biggest downside, in my view, is there are so many features, it is difficult to find the one you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking though some source code from a third party and am repeatedly
Today I was looking at some code atually from Nikhil Kothari's Facebook.NET API. I
I was looking into using some .NET code from within a Delphi program, I
I was looking at some code from a tutorial for creating a carousel menu
I'm looking at some iOS sample code from Apple which shows off GLES2 functionality,
Having nicked some code from msdn I'm miffed that it doesn't work exactly as
I was looking through some code from the SDL library and came across a
I've been looking through some code from a decompiled APK file and ran across
I was looking at some code from a colleague and saw the following method:
I am looking at some disassembled code obtained from Java bytecode. I see some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.