I have a list box as follows (VBA/Access 2003)
Label Above: Items proceeded by * are labels and may not be selected.
The box contains something like:
*Category 1
Item 1
Item 2
*Category 2
Item 1
Item 2
*Category 3
*Subheading 1
Item 1
Item 2
Item 3
Item 4
*Category 4
Item 1
*Subheading 2
Item 2
Item 3
Item 4
.....
I manually made this using the .AddItem procedure. If the user selects a category or subheading (anything begining in *), a message box tells them they need to select something more specific and unselects the item. Only one selection is permitted at a time. I would like the make it so that the *'ed items are bold instead of being *'ed. It would be much more user-friendly. The items (anything without a * in front) would need to be normal font.
The rest is superflous (i think) but may help:
This is generated from a set of tables. The primary table lists all items. Each item has a category (which it will appear under). This is an ID to another table that has the category text. Some items have subheading's. If there is a subheading it displays it and increases the justifications (just by using spaces).
Label Above: Items proceeded by * are labels and may not be selected.
The box contains something like:
*Category 1
Item 1
Item 2
*Category 2
Item 1
Item 2
*Category 3
*Subheading 1
Item 1
Item 2
Item 3
Item 4
*Category 4
Item 1
*Subheading 2
Item 2
Item 3
Item 4
.....
I manually made this using the .AddItem procedure. If the user selects a category or subheading (anything begining in *), a message box tells them they need to select something more specific and unselects the item. Only one selection is permitted at a time. I would like the make it so that the *'ed items are bold instead of being *'ed. It would be much more user-friendly. The items (anything without a * in front) would need to be normal font.
The rest is superflous (i think) but may help:
This is generated from a set of tables. The primary table lists all items. Each item has a category (which it will appear under). This is an ID to another table that has the category text. Some items have subheading's. If there is a subheading it displays it and increases the justifications (just by using spaces).