• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to create Add/Subtract VBA Code with Vlookup ?

ToRaDoYa

New Member
Good Day,,


I need VBA Code for Add button & Subtract Button, but with extra Features !! i Googled it but nothing helpful


the add button:
will take all the Products quantities from C9:C60, and search & find the items [the items in column D in Sales sheet] ,and Add the quantities [the Quantities in column G in Sales sheet]


the Subtract button:
will take all the Products quantities from C9:C60, and search & find the items [the items in column D in Sales sheet] ,and Subtract the quantities [the Quantities is in column G in Sales sheet]


Please Help, i will be waiting here for any answer
icon_eek.gif
 
what i want Briefly:

Add button: will add the quantities of C9:C23, to sales sheet column E

Subtract button: will Subtract the quantities of C9:C23, From sales sheet Column E
here is a sample file
 

Attachments

Last edited:
First of all: thank you for your replay

you did it in the opposite way

i want the data to go from sheet1 to sales sheet so the stock column will increase or decrease

Not from Sales to sheet1, please help
 
MR Chihiro thank you very much for your help

I Tried the code it works Greet , i really appreciate your help, this code will make my life easier, tonight i will learn how to modify it, thanks again for your precious time.

Marc L, thanks for your warning next time, if i did cross posting,i will provide the link
 
Back
Top