PC Review


Reply
Thread Tools Rate Thread

Draw Entries

 
 
=?Utf-8?B?R0JIOTk=?=
Guest
Posts: n/a
 
      13th Sep 2007
(not sure if last request went through so apologies if it did)

I have a name in Column A, say the data starts in A23, then in Column I i
will be producing a the number of draw entries this person would acquire, I
then need to paste the Name onto a Draw spreadsheet. Also I need to number
the entries

EG
Name no. of draws
Gareth Havard 3
Anon 1

To number my name on the draw sheet in columns
a b
1 Gareth Havard
2 Gareth Havard
3 Gareth Havard
4 Anon

And so on and so on until there are no more names, some will have zeros and
should not be pasted. Is this possible?

 
Reply With Quote
 
 
 
 
Sebation
Guest
Posts: n/a
 
      14th Sep 2007
try:

Sub test()

dim i as integer

dim j as integer

lastrow = Cells(Rows.Count, 1).End(xlUp).Row

Range("d:d").ClearContents

For i = 1 To lastrow

For j = 1 To Cells(i, 2)

lrow = Range("d65536").End(xlUp).Row

Cells(lrow, 4).Offset(1, 0) = Cells(i, 1)

Next j

Next i

End Sub



HTH



Regards



Sebation.G

"GBH99" <(E-Mail Removed)> 写入消息新闻:5898B81E-0993-4B31-9A74-(E-Mail Removed)...
> (not sure if last request went through so apologies if it did)
>
> I have a name in Column A, say the data starts in A23, then in Column I i
> will be producing a the number of draw entries this person would acquire,
> I
> then need to paste the Name onto a Draw spreadsheet. Also I need to number
> the entries
>
> EG
> Name no. of draws
> Gareth Havard 3
> Anon 1
>
> To number my name on the draw sheet in columns
> a b
> 1 Gareth Havard
> 2 Gareth Havard
> 3 Gareth Havard
> 4 Anon
>
> And so on and so on until there are no more names, some will have zeros
> and
> should not be pasted. Is this possible?
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems synching diary entries with Outlook2003 and a Sony Ericsson P910i - duplication of entries every time I synch! ship Microsoft Outlook 4 10th Mar 2007 04:36 AM
word 2003 cant draw wont draw? =?Utf-8?B?TW9uaw==?= Microsoft Word Document Management 3 23rd Aug 2006 05:34 PM
Draw lines, pset points, draw circles on a report =?Utf-8?B?aGdlcm9u?= Microsoft Access Reports 6 23rd May 2006 07:41 PM
Re: Question??? You know when you double click in a username field you see your previous entries? How do you reset this so you can see your entries again. Thorsten Matzner Windows XP New Users 0 5th Jun 2004 04:34 PM
Question??? You know when you double click in a username field you see your previous entries? How do you reset this so you can see your entries again. =?Utf-8?B?Y2hyaXM=?= Windows XP General 1 3rd Jun 2004 08:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:11 PM.