Hi !
I'm struggling this issue for a couple of days already…..
Appreciate your help !
The file with explanation is on attached.
The case is that on UserForm I have a 1st ComboBox (for Group Field) that is the Only one that is built in advance.
All other Subgroups ComboBoxes are Dynamic ComboBoxes and build programmatically according to sheet columns.
As ComboBoxes are Dynamic, each one effect the next one.
4 things I haven't found a way to solve anywhere:
1. How can I adjust the dynamic UserForm code to work same as UserForm work on Sheet1. The logical idea is mark in Yellow on attached File.
--------------------------------------------------------------
2. How do I pass the values of All ComboBoxes to Sheet: AccIndex (i.e.: Sheets("AccIndex") on LastRow) ?
I tried those two codes but it did not work:
---------------------------------------------------------------Please Login or Register to view this content.
3. How do I read , progromaticaly, the headers from the sheet to the Labels on UserForm (the labels will be updated with other names) ?
----------------------------------------------------------------
4. And the last thing, I don't know if it is possible , but i'll ask anyway:
Is the logical of Dynamic ComboBoxes can work from Last To first ComboBox , as well.
Meaning, If I'll choose the 2223-3 from Last ComboBox, all the ComboBoxes above it, should already "Know" which values should be taken in them.
For example:
let's say I have 4 ComboBoxes.
When I choose on: ComboBox4 >> 2223-3
it should give on ComboBox3 >> 2222-2 and 2223-2
and on ComboBox2 >> 2222-1
and on ComboBox1 >> Group 2 ; The 1st ComboBox (for Group Field) is the Only one that is built in advance.
can it be done ??
Your help will be appreciated !
posted on this forum as well:
http://www.vbaexpress.com/forum/show...rForm-in-Excel
Shlomi
Bookmarks