LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to use Listview control

Hi,
I am using a listview control and populated the values.
My listview control name is LlstProfiles. I need to use view a
Report.
e.g
LlstProfiles.View = lvwReport

The code i am using is below. I need 2 values to be populated fo
prfiles and Owner. I got struck. Please help me out

The Result should be like
Profiles Owner ---- Listview heading
Excel John ---- values


lTotalWidth = LlstProfiles.Width

Dim colX As ColumnHeader
Set colX = LlstProfiles.ColumnHeaders.Add()
colX.Text = "Profile"
colX.Width = lTotalWidth * 0.5

Set colX = LlstProfiles.ColumnHeaders.Add()
colX.Text = "Owner"
colX.Width = lTotalWidth * 0.5


LlstProfiles.nodes.add 1,,"Profile1"



Thanks
Venkatesh

--
Message posted from http://www.ExcelForum.com

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2002: Need help with Listview BVHis[_10_] Excel Programming 0 May 26th 04 04:57 PM
ListView to Excel Code (but needs SPEED improvements) SVD Excel Programming 1 February 2nd 04 10:54 AM
Listview in Excel 97 vba. jaxrpc Excel Programming 3 January 1st 04 03:04 PM
Get items in ListView in columns RB Smissaert Excel Programming 3 October 20th 03 12:39 PM
Description of Listview and Treeview Controls Frank[_12_] Excel Programming 1 August 14th 03 08:40 AM


All times are GMT +1. The time now is 09:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"