Using VBA to lookup a value and write back to that row in a different sheet

Elgoalio39

New Member
Joined
Sep 12, 2019
Messages
1
Forgive me here guys. I'm completely self taught but have zero knowledge of visual basic and have come up against a problem that I believe can only be solved by visual basic

I have a worksheet of customer information called "data"

I then have another worksheet called "Agent View"

The agent view sheet is looking up information on the data sheet and presenting it in a form view. There are a few boxes that will be filled in on that sheet and then I want to create a button that will click to end that interaction but I want it to write the information from these boxes into the specific row on the "data" worksheet

For example, I have "Final Offer" in cell D25 on the "agent view" sheet. I want a macro/button that will lookup the customer reference number (in D3 of the "Agent View" sheet) and find the row in "data", then paste the "Final Offer" amount in column I of the correct row.

Any help is massively appreciated!
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,214,522
Messages
6,120,020
Members
448,939
Latest member
Leon Leenders

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