Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default extracting IF

Assuming you mean by the last column, the "real" last column, i.e. IV, and r is a variable
holding the current row number, r2 holds the fow number on the 2nd worksheet:

If IsEmpty(Cells(r, 256).Value) = False Then
Rows(r).Copy Sheet2.Cells(r2, 1)
End If


On Thu, 25 Sep 2003 02:58:23 -0700, "martyn" wrote:

If need to extract a row of information to another file or
workbook but only if the last column of that row is
populated. Im new to VBA so some sample code would be
excellent!
Many thanks


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extracting Data klafert Excel Worksheet Functions 9 July 18th 09 07:05 PM
extracting time only Michel Khennafi Excel Worksheet Functions 1 April 10th 08 04:56 PM
Extracting First Name Ruan New Users to Excel 12 February 15th 06 05:41 PM
extracting last name maryj Excel Worksheet Functions 4 June 29th 05 08:55 PM
extracting dd from dd/mm/yy KC Excel Worksheet Functions 4 November 27th 04 12:57 PM


All times are GMT +1. The time now is 10:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"