In order to select a particular sheet- Ages in an excel for printing using proc print, select the correct option
proc print data=inxls."Ages$"e;
proc print data=inxls."Ages$"n;
proc print data=inxls."Ages$"s;
proc print data=inxls."Ages$";