View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
pikus pikus is offline
external usenet poster
 
Posts: 1
Default how do you add a row of data like in a database

nextRow = ActiveSheet.UsedRange.Row + _
ActiveSheet.UsedRange.Rows.Count
ActiveSheet.Cells(nextRow, 1).Value = NewColumn1Value
ActiveSheet.Cells(nextRow, 2).Value = NewColumn2Value

Does this answer your question? - Pikus


---
Message posted from http://www.ExcelForum.com/