![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi...
I´d like to add a treeview Element to my Outlook Form. Can enyone give me an example...? In VBA this wokrs fine... |
Ads |
#2
|
|||
|
|||
![]()
HelixX23 wrote:
Hi... I´d like to add a treeview Element to my Outlook Form. Can enyone give me an example...? In VBA this wokrs fine... Assuming you already have a treeview control named "TreeView1" on your form page named "P.1" sub tvtest dim pgs,tv,i set pgs = Item.GetInspector.ModifiedFormPages set tv = pgs("P.1").controls("TreeView1") for i = 1 to 3 ' e.g. tv.nodes.add "Node " & i next ' i end sub More treeview info at http://msdn.microsoft.com/library/de...iewcontrol.asp Make sure to use numbers instead of vba constants (4 instead of tvwChild). VBS does not know vba constants. HTH, Wolfram |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to apply vba code to OL2003 forms ? | TimR | Outlook - Using Contacts | 1 | February 17th 06 05:41 PM |
Contact Forms | Rob | Outlook - General Queries | 7 | February 13th 06 08:02 PM |
contact forms | BOUTM13 | Outlook - Using Contacts | 1 | February 9th 06 03:33 PM |
Forms | Mostro | Outlook - General Queries | 2 | January 26th 06 05:34 PM |
Outlook automation using vbs | Marceepoo | Outlook - Installation | 1 | January 17th 06 05:18 AM |