Have macro force user to selecat a value

  • Thread starter Thread starter Pluggie
  • Start date Start date
P

Pluggie

Part of my macro now has this line.

Range("D2").FormulaR1C1 = "CTR"

It enters the value "CTR" in a cell.

Now I need to modify it, so that it opens up a box in which the user can
select a value from a list of 3 options.

How do I do this?
What code do I need?
 
I would create a user form with a combo or list box with your options in it.
triger it with userform1.show and give it an "Apply" button to insert the
value and close the userform.
 

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

Similar Threads

Macro not repeating output from search function 4
Run Macro If Cell have "x" value 0
Flexible autofill in macro 3
Need help with macro 12
Arrays and Checkboxes 3
Instr 2
Interrupting a Loop 5
Shorter Sub 7

Back
Top