Thank you for replying. I'm using SMath 0.99 (build: 7691), Windows 10 on PC. I did some experiment. The file was imported from MathCAD originally and I used it as a template. There appears to be a hidden (white) lines in the file. After I managed to select and delete the lines, "Save as..." for both file types worked.