Structure chart with Userform - Link little connectors by a larger and single connector

Doflamingo

Board Regular
Joined
Apr 16, 2019
Messages
238
Hi all, I'm trying to find the lines of code that would allow me to connect the little connectors of the row 5 to a larger one

Here is how works the userform I've created

The commandbutton1 allows to put the elements of the textboxes 1, 2 and 3 in the listbox 1 and 2. You can add as many items as you want in the listboxes.

The commandbutton2 allows to integrate in the excel sheet the items included in the listbox 1 and 2

The commandbutton3 allows to locate at the exact middle the name of the enterprise, no matter the number of holders wich are the items included in the listbox1

The commandbutton 5 and 6 don’t work currently, it will be for an other project

The commandbutton 7 allows to display what the combobox 2 contains

Here you can see a screenshot of the userform I have created
Page 1 https://www.dropbox.com/s/cbbsr52p5ekc0lo/Userform page 1.png?dl=0
Page 2 https://www.dropbox.com/s/sutg6saz4qgabi1/Userform page 2.png?dl=0

Here you can see what the userform allows me to create

https://www.dropbox.com/s/rkdsyviw9zq2v8j/What the userform allows to display currently.png?dl=0

And here what I’m looking for
https://www.dropbox.com/s/gxluslntdpntj0l/What I would like.png?dl=0

Currently, I’m looking a code to make appear a large connector which would link the little connectors of the items included in the listbox1, that are the first and last name of the holder at the row 5

Feel free to download the excel file J, here is the link
https://www.dropbox.com/s/cfu5o39ihruamh9/Structure Chart with Userform.xlsm?dl=0

Any ideas ?:confused:
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top