473,385 Members | 1,615 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

ColumnHeaders

Hi
How I can control Column Headers in the Microsoft ListView by VBA
I can add
Private Sub ListView_Click()
Dim lv As MSComCtlLib.ListView
Set lv = Me.ListView.Object
With lv
'.ColumnHeaders = "2"
lv.ListItems.Add Text:="Adam"
.ColumnHeaders.Add Text:="ab"
.View = lvwReport
End With

but I can't change name and deduct name
Plese help me
Nov 13 '05 #1
0 1390

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: nkp | last post by:
....trying to get the following result into a list box. Dim cost As Double Dim salvage As Double Dim life As Double Dim year As Double Dim factor As Variant Dim depreciation As Double Dim...
3
by: Sean Howard | last post by:
This is a very fustration problem. I have a crosstab query in MS Access that uses a data field (say called "Brand") as the column headings. As I need several crosstab queries to output data in a...
0
by: Adam | last post by:
Hi How I can change ColumnsHeaders in the ListView depending from what I click on the TreeView Will I able to change CollumnsHeaders in the ListView by Macros in VBA Please, tell me how Could...
0
by: cyrille | last post by:
Hello from example from web i did a little code to avoiding columnHeader resize. this code seems to work well, but when I put a 'normal' ListView on the same Form than my overrided ListView it...
2
by: Martin Wolff | last post by:
Hi everybody, in my datagrid I want to show the text in the columnheaders working as a linklabel. It is already working, doing different things depending on the colheader, which has been...
0
by: EMW | last post by:
Hi, On my quest to learn more about VB.NET I'm again stuck with some questions.... I've got a filled datagrid (filled from an Excel file) and the column headers have the same name as in the...
1
by: Sunray | last post by:
I have a form called the sales form and i have 2 sets of listboxes So what happens is. i add items form the bottom set of list boxes which are bound to a data base to the top set of list boxes which...
10
by: keirnus | last post by:
Hello, I have a Listview control which displays various data. The default selected item is the first item. (Is it always the first item?) Here's a simple code: Dim objListItem As Object...
4
by: squrel | last post by:
Hello all, i have listview called lvbill and a grid called grid_data1.. i m getting the data in my gird by nothing is appearing in my listview.. by pressing in the button cmdshowbill the listview...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.