>Anyone know of an example of how to change an excel file from portrait to landscape using automation in VFP?
#define xlLandscape 2
oExcel = CREATEOBJECT([Excel.Application])
oExcel.WorkSheets.Open(.....)
oExcel.ActiveSheet.PageSetup.Orientation = xlLandscape
NOT TESTED
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.