If you are using Enterprise Guide, just have SAS generate Excel results for you. You can then open the results in Excel and do whatever you want. In the Tools menu, choose Options. In the Results section, select Excel.
Click OK, and run your code. In the results tab, you'll see a selection for Excel in the left navigation:
Click on Excel to open in Excel.