Hey Alan, Lately I have been spending a LOT of time with my buddy Claude. Like a LOT. Mostly for work - including FoxPro, converting FoxPro to C# and even working on reports using QuestPDF & C#.
So, my suggestion - have you tried hitting up either Claude.ai (with Free access) - or even CoPilot - with your question. Claude is more coding centric, but, I've indeed did initial FoxPro coding conversion testing with CoPilot. Anyway - it's just a thought... -K ________________________________ From: ProFox <[email protected]> on behalf of Alan Bourke <[email protected]> Sent: Friday, June 13, 2025 6:46 AM To: [email protected] <[email protected]> Subject: Automatic Excel Power Query CSV Import Any Excel automation mavens in the audience? I'm trying to automate what Excel does when you do 'Get Data' from Text\CSV via PowerShell. I've recorded that process as a macro and the code in the linked Gist is attempting to replicate the macro VBA. However no matter what I do it throws a 1426 COM error '800a03ec: Unknown COM status code' when attempting to add to the Workbook ListObjects collection. https://learn.microsoft.com/en-us/office/vba/api/excel.listobjects.add Probably something stupid - can anyone see any issue with the code ? https://gist.github.com/AlanPBourke/091e4aa607239fa69d5f544e31bc958b -- Alan Bourke alanpbourke (at) fastmail (dot) fm --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/dm6pr13mb3852eb4d39d319d62d69f270c3...@dm6pr13mb3852.namprd13.prod.outlook.com ** 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.

