Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default filling every tenth row

I have data on wrksht(A) and need to copy to wrksht(B).
wrksht(a)A1 to A1 on wrksht(B)
wrksht(a)A2 to A11 on wrksht(B)
wrksht(a)A3 to A21 on wrksht(B)
wrksht(a)A4 to A31 on wrksht(B)
and so on.

Help!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default filling every tenth row

try this
Sub copytoten()
counter = 1
For Each c In Range("a1:a100")
c.Copy Worksheets("sheet2").Cells(counter, 1)
counter = counter + 10
Next
End Sub

--
Don Guillett
SalesAid Software

"Salim" wrote in message
...
I have data on wrksht(A) and need to copy to wrksht(B).
wrksht(a)A1 to A1 on wrksht(B)
wrksht(a)A2 to A11 on wrksht(B)
wrksht(a)A3 to A21 on wrksht(B)
wrksht(a)A4 to A31 on wrksht(B)
and so on.

Help!!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 391
Default filling every tenth row


for rw = 0 to 10

wsB.cells(rw*10+1,"A").Value = _
wsA.Cells(rw+1,"A").Value

next


Patrick Molloy
Microsoft Excel MVP

-----Original Message-----
I have data on wrksht(A) and need to copy to wrksht(B).
wrksht(a)A1 to A1 on
wrksht(a)A2 to A11 on wrksht(B)
wrksht(a)A3 to A21 on wrksht(B)
wrksht(a)A4 to A31 on wrksht(B)
and so on.

Help!!
.

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
Delete cells with 0 as the tenth digit PointerMan Excel Worksheet Functions 16 February 9th 09 02:26 PM
Format cells with 0 as the tenth digit PointerMan Excel Worksheet Functions 14 February 9th 09 12:27 AM
ROUND() to tens or hundreds (not tenth/hundredths)! Tom Excel Worksheet Functions 2 November 29th 08 08:11 PM
How do I set up a formula in excel that is the tenth root of 7 ve. Crescent1 Excel Worksheet Functions 1 October 31st 04 08:40 PM
Filling every tenth row. Salim Excel Programming 1 December 3rd 03 05:16 PM


All times are GMT +1. The time now is 03:45 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"