Command button to fill in cells in a column

Garrie

New Member
Joined
Jun 14, 2020
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hey good folk,

I have a timesheet i get my engineering dept to fill in, we have a lot of customers who's name they have to input when working on a design. The "short" name our ERP system uses is noting like the actual customer name and my guys sometimes get confused.
Anyway i have created an x lookup to pull the correct short name from the actual long list and this is working fine, problem is my guys don't like to have to do a search, find the correct code and then rewrite the code into the cell.

The field that shows the code is part of a formula so a simple copy and paste won't work, plus some of the team are not the best with Excel and if i leave the cells unlocked someone will cut and not copy and break it for the whole.

I was wondering if someone a lot smarter than me could come up with a code so that the user inputs the customer name, the code pops up the correct answer, the user hits a "commit" button that would copy that text to the correct cell in the column, then allow them to fill in the rest of the row, next job, next row do the same......Hope i am explaining this correctly.

Any help would be fantastic
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
That could be done. I need more specific details.
You said:
so that the user inputs the customer name, the code pops up the correct answer, the user hits a "commit" button that would copy that text to the correct cell in the column

OK lets say user enters "Alpha" in Range("A2)
Where is the script going to get the your quote: correct answer and what cell is the correct cell.

And we may not need a popup

Please provide more details.
 
Upvote 0

Forum statistics

Threads
1,214,834
Messages
6,121,876
Members
449,056
Latest member
ruhulaminappu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top