I have managed to get an answer from another source.
Its coded below for any others you require it.
options noxwait noxsync;
x '"C:\Program Files\Microsoft Office\Office\EXCEL.EXE"';
data _null_;
x=sleep(10);
run;
filename cmds dde 'excel|system';
data _null_;
file cmds;
put '[Open("\\Datal0047\Clientserv\SAS\Devt\daniel\excel\Test1.xls",,,,"'"test123"'")]';
run;
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.