Macro to check if input data exists on sheet and then run code

zoog25

Active Member
Joined
Nov 21, 2011
Messages
376
Hello all,

Here is the situation.

I have a report that has four columns A, B, C, & D. On a different workbook named job entry. I have a button which lets a person input information on the sheets related to columns a, b, c, & d. I.E.
Code:
A             B           C          D
#127       5           RED      NO
#128       6           FP         NO 
#129       2           RED      Yes

As of right now the macro populates both sheets by adding new rows to each. My problem is that person might want to update an entry by changing either B, C, or D so ie #127 5 FP YES. Now I want the macro to find entry #127 & 5 and update the columns C and D on both workbooks.
(For your information) Both workbooks are identical except the first is a masterworkbook and the second is a monthly report that i coded the master to create a new report each month. Let me know if you need more information to help you.
 

Some videos you may like

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Watch MrExcel Video

Forum statistics

Threads
1,122,499
Messages
5,596,515
Members
414,074
Latest member
Matthew Kakde

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
Top