How to get open close high low data of a 1000 stocks in excell

How can I get yearly or monthly
Open close high low of all stocks in a excell format? Please help