Desmond Lloyd wrote: > Morning All, > > Quick question I hope. > > Need to open an Excel workbook and save it as text. > > Can startup Excel (not visible), open the workbook, but when I "SaveAS", > it says it cannot access the save as property. > > I used examples right out of "Microsoft Office Automation with Visual Foxro" > oExcel = createobject('Excel.application') > oworkbook = oExcel.Workbooks.Open('p:\my loc\excel_auto.xls') > oWorkbook.saveas('p:\account\GE Cash\test2.txt','TXT') > <-------------------Problem child? > > Any input would be greatly appreciated. > > TIA, > Desmond > >
I vaguely recall running into that once... I'm tempted to say the solution was with changing a setting called "safety" or "setwarnings"... -- Matthew S. Jarvis IT Manager, MCP Bike Friday - "Performance That Packs!" www.bikefriday.com [EMAIL PROTECTED] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.