Question: VBA in Excel Consider Sheet 1: A B C D 1 PRODUCT SALE COST 2 Orange $250 $150 3 Milk $100 $80 4 Bread $75

VBA in Excel

Consider Sheet 1:

A B C D
1 PRODUCT SALE COST
2 Orange $250 $150
3 Milk $100 $80
4 Bread $75 $50

Create a visual Basic Application code that will execute in sheet 2:

Everytime and anywhere you will enter the name of any product in the product column it will enter automatically their respective amount in Sale and Cost column on the same row where the product name is entered.

Exemple: Sheet 2

A B C D
1 PRODUCT SALE COST
2 Bread $75 $50
3 Orange $250 $150
4 Bread $75 $50
5 Milk $100 $80
6 Orage $250 $150

NB.: It can also be formulas but need to be with detail.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!