Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am using the treeview control and have successfully created a hierarcy.
Now, I need to be able to drag and drop nodes (parents and their children or children only) to rearrange the hierarchy, but I cannot get the OLEDragDrop events to work. Can anyone suggest how to accomplish this? Thanks for your help!!! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is a simple example:
http://www.bmsltd.ie/Excel/SBXLPage.asp RBS "mecg96" wrote in message ... I am using the treeview control and have successfully created a hierarcy. Now, I need to be able to drag and drop nodes (parents and their children or children only) to rearrange the hierarchy, but I cannot get the OLEDragDrop events to work. Can anyone suggest how to accomplish this? Thanks for your help!!! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Awesome!!! I'm so happy I could cry :'-)
Your example did the trick perfectly!! "RB Smissaert" wrote: Here is a simple example: http://www.bmsltd.ie/Excel/SBXLPage.asp RBS "mecg96" wrote in message ... I am using the treeview control and have successfully created a hierarcy. Now, I need to be able to drag and drop nodes (parents and their children or children only) to rearrange the hierarchy, but I cannot get the OLEDragDrop events to work. Can anyone suggest how to accomplish this? Thanks for your help!!! |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
No problem, I learned it from there as well.
RBS "mecg96" wrote in message ... Awesome!!! I'm so happy I could cry :'-) Your example did the trick perfectly!! "RB Smissaert" wrote: Here is a simple example: http://www.bmsltd.ie/Excel/SBXLPage.asp RBS "mecg96" wrote in message ... I am using the treeview control and have successfully created a hierarcy. Now, I need to be able to drag and drop nodes (parents and their children or children only) to rearrange the hierarchy, but I cannot get the OLEDragDrop events to work. Can anyone suggest how to accomplish this? Thanks for your help!!! |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Per mecg96:
Your example did the trick perfectly!! This from a noob: how did you get to look at the VBA code? I did Tools | Macro | Macros and selected DragDropExample.xls, but no routines showed up. -- PeteCresswell |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In Excel: Alt + F11 to get you in the VBE (VB Editor)
Ctrl + R to open up the Project Explorer On the left right-click frmDragDrop and do View Code. RBS "(PeteCresswell)" wrote in message ... Per mecg96: Your example did the trick perfectly!! This from a noob: how did you get to look at the VBA code? I did Tools | Macro | Macros and selected DragDropExample.xls, but no routines showed up. -- PeteCresswell |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Per RB Smissaert:
In Excel: Alt + F11 to get you in the VBE (VB Editor) Ctrl + R to open up the Project Explorer On the left right-click frmDragDrop and do View Code. Thanks. Just spent the afternoon porting it to MS Access. Not too sure what I'll ever *do* with it.... -) But it was an instructive way to spend a few hours. -- PeteCresswell |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
TreeView Drag & Drop | Excel Programming | |||
Returning checked Nodes from Treeview form control | Excel Programming | |||
Adding nodes to treeview | Excel Programming | |||
treeview drag drop | Excel Programming | |||
treeview add nodes | Excel Programming |