Excel VBA

Quickard

New Member
Joined
Jun 6, 2011
Messages
1
Hello,

I Don't know where to really start so here goes.

I have a list of parts on one sheet that includes the following (sheet name is: Products):
Part Number, Part Description, Part Price.

On another sheet I have a job (sheet name: Job) that has different parts depending on the job, on this sheet I currently hand enter the part number, part description, part price and quantity, there are hundreds of different parts I have to enter, so currently I copy and paste them. I would like to just type part numbers into the job sheet, highlight them (only certain ones) and then hit a button that would bring the product description and price into the other columns.

I know its a tall order but I would like to learn VBA and would really appreciate any help.
 
Last edited:

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Instead of hitting a button you could try a vlookup. which will return the data your after based on the part number with a flag to return the part product description and price into the other columns.

=e.g. if (b2="Yes",VLOOKUP(A2,Products!$A$1:$D$33,2,FALSE),"Leave Blank")


cheers
ziggy
 
Upvote 0

Forum statistics

Threads
1,224,593
Messages
6,179,791
Members
452,942
Latest member
VijayNewtoExcel

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