Excel Treeview help

eagerexcel

New Member
Joined
Apr 17, 2012
Messages
3
hi Guys,

i have just found the treeview function within the user forms and would like to build one.

i have looked at a few examples of the data needed but cant figure out the codes to import the information.

to simplify it can someone please send me the makro or code for the following:

standard 3 sheets, i havde renamed the first to "Books"

Grouping would be the main list, where you will then be able to expand each group to see the list of athours and then down to the books.

in the user form the label field will then take the information in the synopsis cell

with the example below and the info above, is it possible to creat a code that will be able to "plug and play" with the ability to take on many more rows of information?

would really appreciate the help
GroupAuthorBookSynopsis
A
Alex Archer

<tbody>
</tbody><colgroup><col></colgroup>
Destiny
Archaeologist and explorer Annja Creed's fascination with the myths and mysteries of the past leads her to a crypt in the caves of France, where the terrifying legend of the Beast of Gevaudan hints at the unimaginable. What she discovers is shattering: an artifact that will seal her destiny; a brotherhood of monks willing to murder to protect their secret; and a powerful black-market occultist desperate to put his own claim to centuries-old blood money. Annja embarks on a high-tension race across Europe and history itself, intent on linking the unholy treachery of the ages with the staggering revelations of the present. But she must survive the shadow figures determined to silence her threat to their existence

<tbody>
</tbody><colgroup><col></colgroup>
Footprints
Forbidden City
Adrian Tchaikovsky

<tbody>
</tbody><colgroup><col></colgroup>
Blood of The Mantis

<tbody>
</tbody><colgroup><col></colgroup>
Dragonfly Falling

<tbody>
</tbody><colgroup><col></colgroup>
B
Bret Easton

<tbody>
</tbody><colgroup><col></colgroup>
Glamorama

<tbody>
</tbody><colgroup><col></colgroup>
Imperial Bedrooms

<tbody>
</tbody><colgroup><col></colgroup>

<tbody>
</tbody>
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
You don't say where this data is or how it's organised.
 
Upvote 0
In an excel spreadsheet named "book listing"
the table above is in the first sheet of the workbook that i have renamed "Books"

the data is quite large which is why i would want a way to make the system select all the data within the sheet
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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