Matthew Turk wrote: > it says COM error - invalid argument. I'm pretty sure the keyword is > correct - it's directly out of hte MS Help file, as well as I get > invalid keyword errors when I try filename or Filename or fileName. > Now, this obviously adds a specific file. But when I try to add a new > section by *type* instead of by file, it works perfectly (i.e. > binder.Sections.Add(Type = "Excel.Sheet") or some such). Try opening the makepy generated file for the binder, and locate the lines: defaultNamedOptArg=pythoncom.Missing defaultNamedNotOptArg=pythoncom.Missing defaultUnnamedArg=pythoncom.Missing Change all 3 to use "pythoncom.Empty". If this fixes the problem please let me know... Mark.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4