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: 8
Default tree view control

Hi,

I have a problem in using treeview control in userform.
I have to write some values into different excel sheets by checking the
level.
I am able to get all the nodes using the for loop.

For Each NodX In TreeView1.Nodes
If (NodX.Checked) Then
level = CInt(Left(NodX.Key, 1))
If(level = 2) then
Call processThis(NodX)
End If
End If
Next NodX

In my processThis() method i have get all the nodes which is under that.
1. How i can get all the nodes which is under the passed node?
2. Is it possible to get only the checked nodes using foreach loop?

Thnaks and Regards
Duraiswamy




 
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
Tree view in Excel duxxyy Excel Discussion (Misc queries) 1 March 25th 08 02:24 PM
Tree View of spreadsheet tabs: is it possible? [email protected] New Users to Excel 2 June 1st 06 10:26 PM
Tree View for excel sheets c2k2000 Setting up and Configuration of Excel 10 December 24th 04 06:01 PM
tree view control Harald Staff Excel Programming 0 June 10th 04 04:07 PM
tree view control julio Excel Programming 0 June 10th 04 03:04 PM


All times are GMT +1. The time now is 07:06 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"