View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
maju maju is offline
external usenet poster
 
Posts: 19
Default Help Loop question

Hi Guys. I am new to macro programming. Below is my data. I need to write
a
loop that will insert new row with same data whenever the quantity is 2, 3
etc. e.g if the quantity is 1,no new row. if is it 2, 1 additional row
with
same datas info, if 3, 2 additional rows with same data. thanks

State Style Quantity
Maryland 100g 1
New york xzy10 1
texas 200g 2