Saveas just saves data, it doesn't take into consideration the layout and column properties as defined in your DW. You would have to use OLE to open the file after saving and manipulating the xls that way. Google search you can find lots of examples of people using OLE to create/modify xls files using PB.
↧