Hi,
Stuck on getting VBA to do something! I have a form with some values that need to be added to a table. On clicking the command button I need it to first add a new row into table procStep using the values in the form. Then, I need to loop through all the cells in the Product Name column of that table and check some conditions, if the conditions are met then add a new row to a different table called resTable.
I'm using the code below.
What's happening is that it is adding the new row to procStep table with the form values ok, but then it's just adding one blank row to the resTable table when there should be 4 rows that meet the conditions given.
Apologies if the code's a bit messy, VBA is not my forte!!
Any help would be appreciated though
Bookmarks