Hello, I have the following code below; I have this same code pasted 9 times, except the next range would be B506, then B507, then B508 and so on... How would I set it up to run starting with the range being B507, which is my first cell with data and then once this code finishes checks cell B508, if it is blank then end code, if not copy paste that value into b18 and call WebDataSingle.
Range("B506").Select
Selection.Copy
Range("B18").Select
ActiveSheet.Paste
Call WebDataSingle
Open in new window
should do it.