Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assign value to Excel ActiveX Combo Box from Access

Status
Not open for further replies.

mmogul

IS-IT--Management
Dec 1, 2003
218
US
I am attempting to set the value of a combo box (ActiveX) on an excel file using Access vba. The worksheet is referenced as xlWS (defined as Worksheet). If the excel combo box is named "cmbSelectType", what is the code to reference the Excel combo box and update the selected value from Access?

Thanks.
 


hi,
Code:
with xlWS.Shapes("cmbSelectType").OLEFOrmat.Object

end with


Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top