Use VBA to fill in formulas in Cells

  • Thread starter Thread starter NetWave128
  • Start date Start date
N

NetWave128

I have a userform that has a selection method... I would like to fill
range of cells with a different formula depending on which cmd butto
is pressed in the form.

The Formula is a lookup and it is the same it just refers to differen
sheets based on the user input...

Thank You
 
Selection.Formula = "=VLOOKUP(A1, $B$1:$C$1000, 2, FALSE)"
 

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