I’m trying to teach myself VBA and it isn’t proving to be easy. In the macro I have, I want the code to loop through 3 different worksheets and copy data to dump into a 4th worksheet. Right now, it’s looping more times than I want it to and I can’t figure it out. Here is the code that I’m using from my workbook:
For X = 1 To Worksheets.Count – 1
What exactly does the “Count-1” part mean?
Thanks in advance.
Deb