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

I have 3 Vodafone's,
so below in the Vodafone Worksheets I should have
Rows 14,15,16 with entries.
However not quite getting there,thanks for any help

For i = 3 To lastrow
j = 14

If Cells(i, 4) = "Vodafone" Then
Cells(i, 5).Copy Destination:=fin.Worksheets("VODAFONE").Cells(j, 2)
Cells(i, 6).Copy Destination:=fin.Worksheets("VODAFONE").Cells(j, 9)
End If
Next

j = j + 1

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 169
Default Populating Rows

Figured this out - thanks

"teresa" wrote:

I have 3 Vodafone's,
so below in the Vodafone Worksheets I should have
Rows 14,15,16 with entries.
However not quite getting there,thanks for any help

For i = 3 To lastrow
j = 14

If Cells(i, 4) = "Vodafone" Then
Cells(i, 5).Copy Destination:=fin.Worksheets("VODAFONE").Cells(j, 2)
Cells(i, 6).Copy Destination:=fin.Worksheets("VODAFONE").Cells(j, 9)
End If
Next

j = j + 1

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
Populating rows from a worksheet to a second worksheet Jeff L Excel Discussion (Misc queries) 2 July 1st 09 01:16 PM
Populating Rows Below gusdafa[_3_] Links and Linking in Excel 4 February 27th 08 01:15 AM
vba function ( populating rows) Bre-x Excel Discussion (Misc queries) 3 July 13th 07 12:04 AM
Populating another tab. Brian Excel Discussion (Misc queries) 1 June 24th 05 12:29 AM
adding rows and populating them with data from other columns shirley Excel Programming 2 June 29th 04 06:14 AM


All times are GMT +1. The time now is 01:16 PM.

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

About Us

"It's about Microsoft Excel"