I would like to clear comboBox2 once a new value is chosen in comboBox1 (comboBox2 values depend on comboBox1).
I tried the following VBA in after update event:
Code:
Me.comboboxName = "" Me.comboboxName = Null
I would...
Me.comboboxName = "" Me.comboboxName = Null
Select Case 'code here Case DataErr = 3022 ‘ duplicate index
Private Sub Form_Open(Cancel As Integer) Dim lngCustomColor As Long lngCustomColor = -2147483633 Me.txtMyTextBoxControl.FormatConditions(1).BackColor = lngCustomColor End Sub
<!-- Piovot chart ribbon --> <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"> <ribbon startFromScratch="true">
=IIf([currency].[column](0)='EUR';[quantity]*[price1pc]*1;[quantity]*[price1pc]*[currency].[column](1))
Private Sub PoleKombi_AfterUpdate() me.exchangeRateID = Me.comboBox.Column(1) me.currencyName= Me.comboBox.Column(2) me.exchangeRate = me.comboBox.Column(3) me.value = Quantity*Price *exchangeRate) end
Leave a comment: