PyWin32 : When using Microsoft Word in code , opening it doesn't work

MRAB python at mrabarnett.plus.com
Thu Apr 8 20:19:04 EDT 2021


On 2021-04-09 00:15, VISHESH MANGLA wrote:
> On Friday, April 9, 2021 at 4:42:38 AM UTC+5:30, MRAB wrote:
>> On 2021-04-08 23:35, VISHESH MANGLA wrote: 
>> > On Friday, April 9, 2021 at 4:02:37 AM UTC+5:30, Chris Angelico wrote: 
>> >> On Fri, Apr 9, 2021 at 8:26 AM VISHESH MANGLA 
>> >> <f201... at pilani.bits-pilani.ac.in> wrote: 
>> >> > 
>> >> > Please help with this . 
>> >> > 
>> >> > https://github.com/mhammond/pywin32/issues/1689 
>> >> Did you follow the instructions in the first line of the issue, saying 
>> >> how you should seek support? 
>> >> 
>> >> ChrisA 
>> > obviously I did but their mailing list requires them to respond to your email when they haven't done since I made the request 1 month back.I did that atleast thrice. So I 'm stuck. 
>> >
>> I found some documentation: 
>> 
>> https://docs.microsoft.com/en-us/office/vba/api/word.document 
>> 
>> It looks like there's no "SaveAs" method, but there's a "SaveAs2" 
>> method. Try that instead.
> the code is running , it's working, what do you say that? There must be `SaveAs`
> 
Why, then, does the traceback say "AttributeError: Open.SaveAs"?


More information about the Python-list mailing list