View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
dabith[_2_] dabith[_2_] is offline
external usenet poster
 
Posts: 1
Default Rows(arguments)???

Hey all

another question

how do I use the Lastrow variable in the Rows argument???

Dim Lastrow As Long
With ActiveSheet
Lastrow = .UsedRange.Rows.Count + .UsedRange.Cells(1).Row - 1

Rows("1:Lastrow").Select
Selection.Copy


Thank

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