View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Allen Lance Allen Lance is offline
external usenet poster
 
Posts: 7
Default Add loop to Vlookup

Les,

There's a few different ways to loop through your active cells.

Here's one simple way of doing that.....

Dim MyRow as long

For MyRow = 1 to Range("A65536").End(xlup).Row

'Put your code in here
'use MyRow as your Row identifier
' For Example Cells(MyRow,1).Value = "Column A of Row MyRow"

Next MyRow

I hope this points you in the right direction.

Allen