Macro to list numbers

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




I have a column of numbers say 1 to 10 in column A
In column B at various rows there could be a number. This is the number
of times I need the number in column A repeated in column C eg.
"A2 to A20" have the numbers 1 to 19
if "A3"has the number 2 and "B3" has the number 4 then "C2 to C5"
should have number 2 in them. If the next number in column "B" was say
"B8" and this was 1 then "C6" would be 7

I have been trying to write a macro for this. I have got as far as
going down column A and identifying how many rows are populated and
then got stuck.
Help would be appreciated


--
tryer
------------------------------------------------------------------------
tryer's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=16546
View this thread: http://www.excelforum.com/showthread.php?threadid=397592

.



Relevant Pages

  • Macro to list numbers
    ... then got stuck. ... tryer's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=16546 ... Prev by Date: ...
    (microsoft.public.excel.programming)
  • macro to list numbers
    ... then got stuck. ... tryer's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=16546 ... Prev by Date: ...
    (microsoft.public.excel.programming)
  • Copy Contents of 3 Columns into 1
    ... Someone help me writing a macro, ... because i'm stuck. ... Lynxen's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=25164 ... Prev by Date: ...
    (microsoft.public.excel.programming)
  • 180 unispin. go me.
    ... stuck in iowa and unemployed. ... markf's Profile: http://www.unicyclist.com/profile/8102 ... Prev by Date: ...
    (rec.sport.unicycling)
  • Re: Login to SBS takes 30 minutes - 1 hour
    ... an image of the projects I'd burned in my profile, ... Anyways today on of my clients is attempting to log in and gets stuck at ... login, all logins after that took no time at all. ... Really frustrating with a client that just sits there and there is no way ...
    (microsoft.public.windows.server.sbs)