Maco help needed !

eddy

Well-known Member
Joined
Mar 2, 2002
Messages
521
I could do with some help scripting a macro.

This is what I would like to do:-
I have a sheet with Product P/Nos in Col C Rows (13 to 39)
I have a VAT figure, in Col F Rows (13 to 39) for each item.
If certain P/Nos are listed in Col C then I want certain other P/Nos to have the VAT figure set to 0.

e.g If P/Nos SOFTEX100, OR SOFTEX200, OR SOFTEX300 (list may grow) are listed THEN IF EITHER NOTMAX400, OR NOTMAX500, OR NOTMAX600 (list may grow), are listed THEN change the VAT of these items to 0

All help would be appreciated
 
Yes, great result. Hope I can repay you someday. It's all amalgamated into another bit of code and it runs like a dream, but maybe more importantly the look up table makes it easy for others to add to the conditions. This is a code snippit for the collection book! Its now time for bed here, goodnight.

Regards Eddy
 
Upvote 0

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,214,948
Messages
6,122,420
Members
449,083
Latest member
Ava19

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