I have a double nested Do loop consisting of an outer and inner do loop. I'm having trouble passing values from the outer loop to the inner loop. A simplified version of my procedure is:
Option Explicit
Sub A()
Dim t as integer
t=0
Do
lines of code
Worksheets (1).Range("A1").Value = t
Do...