View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
hnyb1 hnyb1 is offline
external usenet poster
 
Posts: 29
Default Macro to paste x number of times

Hi! Can you help me with a macro to copy and paste a cell x number of times
dependent on a number that is entered into a cell.

Ex: If A2 = 2 then cell B2 is copied and pasted into the next 2 empty cells
in column C. But then if A2 = 5, B2 is copied and pasted into the next 5
empty cells in column C.

As always, any help is much appreciated! Oh yeah, I'm working in Excel 2003.

Thanks,
Holly