Hi everyone, Thank-you very much for your help, much appreciated Casey - your information solved the problem for me - thanks so much!!! The problem was that I hadn't realised that the EG closes all ODS destinations after each bit of code is submitted!! So what was happening was that I was selecting and then submitting the ODS lines of code: ODS listing GPATH = "C:\mygraphs" sge = on; ods graphics on; And after this I then selected and submitted the lines of code for the graph (I was doing a step at a time as I wanted to check where the problem lay) - but of course because I had already submitted the ODS lines of code in a separate step, immediately after EG opened the destinations it then closed them again! Quite funny really!! Running all of the code in a single step produces both the sge and png files each time - hooray!!! Michelle - thanks very much for your tip too. I'd actually already installed the .dll to get ODS graphics designer working earlier and it worked beautifully But it's a great tip to know about as ODS graphics designer is brilliant for creating graphs from point-and-click! For the particular thing that I was doing at the moment though, which is wanting to create a graph from code and then to edit this, I think that I need to use the ODS graphics editor rather than ODS graphics designer though, as I think that ODS graphics designer can only create a graph from point-and-click rather than from code? But thank-you very much for your hint Also, on a related note, if anyone knows if one can create a graph in Designer from code, I'd be very interested in knowing about this (that'd be very handy if so - I prefer to use code as it's quicker in general than using point-and-click, however Designer is very handy for making changes to graphs as it saves one having to use the graph templating language!). Or if anyone knows whether one can convert a SGE (ODS graphics editor) file to a SGD (ODS graphics designer) file, I'd also be most interested to know this (as then I could create the SGE file using code and then open the graph in Designer to make the changes). (possibly I should create a new post re these questions?) Many thanks to you all for your help Cheers, Zaneta
... View more