Hello,
I was hoping to get some help here regarding some VBA code. I've searched through Google so many times and tried multiple ways, but this has totally thrown me off. I'm half decent with VBA, by that I mean I can read it and join sentences to make it work but don't fully understand it... Y'know? I didn't think this would stump me as much as it has, and it seems so simple!
I am looking to use a button on worksheet"D" that then triggers a search on worksheet"B". It will search column D and if column D is lower than or equal to the cell in column E on the same row, then take the info from column A, B and D and place into table "AutoStockCheck" on worksheet"D", then call my email function. Then move onto the next row until it finds a value below again and loop the same options. except it adds into the table, below the previous one. Although when pressing the button on worksheet"D" again, it will clear contents of table to start again.
I've had a go multiple times and deleted the code out of frustration so can't really say where I'm up to
Hope I haven't complicated it within my explanation. Any help is much appreciated and can clarify anything if needed. TIA.
Example of table to search:
I was hoping to get some help here regarding some VBA code. I've searched through Google so many times and tried multiple ways, but this has totally thrown me off. I'm half decent with VBA, by that I mean I can read it and join sentences to make it work but don't fully understand it... Y'know? I didn't think this would stump me as much as it has, and it seems so simple!
I am looking to use a button on worksheet"D" that then triggers a search on worksheet"B". It will search column D and if column D is lower than or equal to the cell in column E on the same row, then take the info from column A, B and D and place into table "AutoStockCheck" on worksheet"D", then call my email function. Then move onto the next row until it finds a value below again and loop the same options. except it adds into the table, below the previous one. Although when pressing the button on worksheet"D" again, it will clear contents of table to start again.
I've had a go multiple times and deleted the code out of frustration so can't really say where I'm up to
Hope I haven't complicated it within my explanation. Any help is much appreciated and can clarify anything if needed. TIA.
Example of table to search: