vb--simple simple

  • Thread starter Thread starter stevieh
  • Start date Start date
S

stevieh

hi,

anyone know how to copy a combobox selection to a specific cell b
using vb code in a command box
 
i cant see this in the userform.

i know you can do this with a normal combo box which is not in a for
but lost when in a userform
 
What's a "command box"?

Can you give an clear example of what you want to do?

--
Jim Rech
Excel MVP
| hi,
|
| anyone know how to copy a combobox selection to a specific cell by
| using vb code in a command box?
|
|
| ---
| Message posted
|
 
in the form a command button would be pushed that would copy the dat
from the combo box (ie england) to a cell in the worksheet

does that help
 
Private Sub CommandButton1_Click()
Range("A1").Value = ComboBox1.Value
End Sub


--
Jim Rech
Excel MVP
| in the form a command button would be pushed that would copy the data
| from the combo box (ie england) to a cell in the worksheet
|
| does that help?
|
|
| ---
| Message posted
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top