B
bw
The following is code for a UserForm. The Value of A1 in Sheet2 contains
the value that I want to use as the default value for this form. The value
of A1 is dynamic, and is the same as one of the values in the
CombinedBankNames List.
How do I do this please.
Thanks,
Bernie
Private Sub CombinedBankNames_Change()
boxvalue = CombinedBankNames.Value
Call MoveBankData
End Sub
Private Sub UserForm_Initialize()
Dim MyArray As Variant
'Where mylist is the named range
MyArray = Range("CombinedData")
CombinedBankNames.List = MyArray
End Sub
the value that I want to use as the default value for this form. The value
of A1 is dynamic, and is the same as one of the values in the
CombinedBankNames List.
How do I do this please.
Thanks,
Bernie
Private Sub CombinedBankNames_Change()
boxvalue = CombinedBankNames.Value
Call MoveBankData
End Sub
Private Sub UserForm_Initialize()
Dim MyArray As Variant
'Where mylist is the named range
MyArray = Range("CombinedData")
CombinedBankNames.List = MyArray
End Sub