I am using this code to get the last used rows-
rowNo=objExcel.Activeworkbook.Sheets(1).UsedRange.Rows.count
Now, i want to copy the data of a specific column upto last row used.
//What to write in the below code to use rowNo //
Set Source=objExcel.Activeworkbook.Sheets(1).Column("G") 
Source.Copy
 
     
    