Hi,
I'm very new with Array in vba and find it hard to adapt the tutorials I find on webs to my task.
I understand that array can store variables for later use.
I want to populate a multi column array only with enabled textboxes values. I have 40 textboxes in frame1. If I check checkbox1 outside frame1 Textboxes 1, 2, 3 and 4 are enabled. Checking checkbox2 enabled textboxes 5, 6, 7 and 8. Checkbox3, Textboxes 9, 10, 11, 12 until textbox40. There are 10 checkboxes outside frame1. Each corresponded to every 4 textboxes.
It's like the columns are fixed (4 columns) in an array and the rows are to be dynamically increase or increment depending on the checkboxes.
By a button click, the stored array are to be transferred ( emptying array) to a worksheet range as is.
Can anybody help me out!
Thanks very much in advance and looking forward for any tips or solutions.
I'm very new with Array in vba and find it hard to adapt the tutorials I find on webs to my task.
I understand that array can store variables for later use.
I want to populate a multi column array only with enabled textboxes values. I have 40 textboxes in frame1. If I check checkbox1 outside frame1 Textboxes 1, 2, 3 and 4 are enabled. Checking checkbox2 enabled textboxes 5, 6, 7 and 8. Checkbox3, Textboxes 9, 10, 11, 12 until textbox40. There are 10 checkboxes outside frame1. Each corresponded to every 4 textboxes.
It's like the columns are fixed (4 columns) in an array and the rows are to be dynamically increase or increment depending on the checkboxes.
By a button click, the stored array are to be transferred ( emptying array) to a worksheet range as is.
Can anybody help me out!
Thanks very much in advance and looking forward for any tips or solutions.