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

zoog25

Active Member
Joined
Nov 21, 2011
Messages
418
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.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,214,915
Messages
6,122,217
Members
449,074
Latest member
cancansova

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