Hi there.
I want to run a loop that sets variables depending on which worksheet it is looking at, then sets more variables depending on the column within the worksheet.
in the first instance it finds the worksheet - if the worksheet is called valve it will choose find a column and set variables. I then want it to skip to the code at the bottom. after it has run the code i want it to search for another column in the valve sheet and repeat the code for each column. After that I want it to search for the sheet 'pipe' and do the same. Eventually the loop will include 6 such sheet names each with multiple columns to set variables for.
At the moment when I run the code it exits the loop too quickly so that non of the code at the bottom is run for any of the sheets. I've been moving the end if/end for all over the show but so far haven't found a solution. Any help much appreciated. Cheers
Bookmarks