I would like to spilit the data based on country and save the file based on Country using Macro.
sub Country_Reduce set vfield=ActiveDocument.Fields("Country") vfield.select "USA", true ActiveDocument.ReduceData false ActiveDocument.SaveAs "C:\Users\USA.QVW" end sub
the above statement works for one country.If I need to implement the same for multiple countrywise -I tried to loop .