Populating TextBoxes with values from an imported database
juuustin
Forums
I have a macro now that performs extractions and random samples based on a number of user-entered edit boxes on the dialog screen. The user entered data comes from a standardized Excel workbook that contains the proper data in a structured manner. What am I wondering is if there is a way to "import" those values such that the text boxes are essentially filled in with the data contained in the Excel workbook?
Thanks for any information!
Hi there,
Hi there,
I have put together a little demo program that will read an excel spreadsheet and use the values in a dialog, I have attached both files for you to look at.
The spreadsheet has the following info:
It contains the text for the labels and default values for the text boxes.
This is what the dailog looks like:
You can see that the above is the same as from the excel spreadsheet. Below is a copy of the attached code, llet me know if there is something that doesn't make sense.