I have a database which stores various fields of information. There is a section which populates these fields on various locations within several different Word and Excel documents. The Word ones work fine but I am having trouble with the Excel one.
I have Excel, the workbook and worksheet open as object variables. I know how to select cells in the spreadsheet and update them to field values. However many of the fields are either combo boxes or check boxes that have been added within Excel as shapes. Does anyone know the lines of code required to select a combo box and then allocate it a value from an Access text/number field? Also how do I take the value from an Access yes/no field and set an Excel check box to it?
I have Excel, the workbook and worksheet open as object variables. I know how to select cells in the spreadsheet and update them to field values. However many of the fields are either combo boxes or check boxes that have been added within Excel as shapes. Does anyone know the lines of code required to select a combo box and then allocate it a value from an Access text/number field? Also how do I take the value from an Access yes/no field and set an Excel check box to it?