View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Al[_12_] Al[_12_] is offline
external usenet poster
 
Posts: 10
Default Help: Visual Basic Syntax


Dim MyRange As Range
Set MyRange = Worksheets("Sheet1").Range("A1:H1")

Question:
How can I increment MyRange so that when it's in a loop,
it becomes "A2:H2", then "A3:H3" the next time thru, etc,
etc?