win32com, Word, and Find.Execute
Vepxistqaosani
vepxistqaosani at netscape.net
Tue Feb 11 22:57:33 EST 2003
For reasons that escape me, I can't run a Word Find & Replace command
from Python. Find works perfectly well, but there doesn't seem to be a
way to pass a Replace argument to Execute.
Now, I have used the obvious workaround -- my Find & Replace stuff is
now in a Word template that Python can load for every document that
needs to be processed -- but shouldn't Execute be callable from Python
with arguments? It's just a Word function, after all.
Googling this group, I found that this problem was reported in 1998, but
no solution was forthcoming. Has any further work been done?
Thanks,
Fred
More information about the Python-list
mailing list