View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
MSP77079[_3_] MSP77079[_3_] is offline
external usenet poster
 
Posts: 1
Default Automatic completing of names and ID numbers - Problem.. help


Sub CreateTimeSheets()

Dim myRange As Range

Sheets("Staff_List").Select
Range("A1").Select
Set myRange = ActiveCell.CurrentRegion
LastRow = myRange.Cells(myRange.Cells.Count).Row

For i = 1 To LastRow

' put in here whatever it is you want to do with each name on your
list

Next i


End Sub


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/