Thread: Select problem
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mark J Mark J is offline
external usenet poster
 
Posts: 24
Default Select problem

here is my code;

Dim lastRow As Range
Dim A As Range

Private Sub Workbook_Open()
lastRow = Cells(Rows.Count, "A").End(xlUp).Row + 1
A = lastRow
A.Select
End Sub

can someone tell me what i need to fix to make this work.thanks