I want to create a file with a header and then populate it with data for each symbol. I tried the following however the header line keeps getting repeated over and over for each symbol. 
Please suggest a solution. 
CODE:
Please log in to see this code.
     
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Eugene, perfect solution and works get. Many many thanks for your help. 
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Glad to help you.
    
    
        
    
    
        
    
    
        Size:  
    
        Color: