I have a Macro that brings up a userform.
In that UF I have a combobox that lists bank accounts. I want the bank account that's chosen to be then thrown over into my macro where it uses the data.
I can't figure out how to do this (past a very primative way of copying the data to the sheet in the UF then when the macro finishes it gets the data and clears it.
Can anyone please help?
I though this would work but it doesn't...
HTML:
'Run UserForm
UserForm_SelectAccount.Show
In that UF I have a combobox that lists bank accounts. I want the bank account that's chosen to be then thrown over into my macro where it uses the data.
I can't figure out how to do this (past a very primative way of copying the data to the sheet in the UF then when the macro finishes it gets the data and clears it.
Can anyone please help?
I though this would work but it doesn't...
HTML:
MsgBox (UserForm_SelectAccount.ComboBox_Accounts.Text)