Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to Treeview in VBA

Hi,
I need to use Treeview control in my VBA code. How to populate th
values for parent and the child.

eg.
Television
Sony
Panasonic
JVC
Philips

I need a '+' sign to be in the treeview for Television.. when i clic
the '+' sign the child values should be visible as the above example.

Also how to get a icon displayed in the treeview for the Parent an
Child list.


Thanks
Venkatesh

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How to Treeview in VBA

http://support.microsoft.com/default...72&Product=vbb
SAMPLE: TREEVIEW.EXE Manipulating and Saving the Nodes in a TreeView Control

"The purpose of this TreeView sample is to demonstrate the basics of using
and manipulating the TreeView control. This example shows how to add Nodes
using the five different relationship settings of the Nodes Collection Add
Method. It will also allow you to remove a selected Node or branch."


--
Regards,
Tom Ogilvy



"kvenku " wrote in message
...
Hi,
I need to use Treeview control in my VBA code. How to populate the
values for parent and the child.

eg.
Television
Sony
Panasonic
JVC
Philips

I need a '+' sign to be in the treeview for Television.. when i click
the '+' sign the child values should be visible as the above example.

Also how to get a icon displayed in the treeview for the Parent and
Child list.


Thanks
Venkatesh.


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



Reply
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
TreeView Object bach New Users to Excel 1 August 15th 05 02:51 PM
TreeView marijan glavac[_2_] Excel Programming 2 April 30th 04 07:28 AM
parameters in treeview xoco Excel Programming 0 December 16th 03 09:43 PM
Treeview Max Scott Excel Programming 2 October 3rd 03 02:00 PM
treeview add nodes Serkan[_2_] Excel Programming 3 October 3rd 03 09:55 AM


All times are GMT +1. The time now is 07:21 PM.

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

About Us

"It's about Microsoft Excel"