nodding dino
Board Regular
- Joined
- Aug 5, 2003
- Messages
- 94
I'm not too sure what to search for here - so apologies if it's been discussed a hundred times!
I would like to build a form to display checkboxes next to labels which will take their caption value from a series of rows in a worksheet.
These rows come from a .csv import and as such will vary in number. So (as an example) my .csv may have three rows, in which case, when the form is launched, I would like it to have 3 lables and checkboxes next to them.
I have started by counting the number of rows in the imported data and have then moved to a form which (upon activation) will start a loop for the required count. This is the point at which I have become stuck!
Can anyone give me any ideas? I guess I will need to hold the data in an array and then loop through this to populate the labels...I'm just not sure how to create the labels on the fly...
THANKS!
I would like to build a form to display checkboxes next to labels which will take their caption value from a series of rows in a worksheet.
These rows come from a .csv import and as such will vary in number. So (as an example) my .csv may have three rows, in which case, when the form is launched, I would like it to have 3 lables and checkboxes next to them.
I have started by counting the number of rows in the imported data and have then moved to a form which (upon activation) will start a loop for the required count. This is the point at which I have become stuck!
Can anyone give me any ideas? I guess I will need to hold the data in an array and then loop through this to populate the labels...I'm just not sure how to create the labels on the fly...
THANKS!