returning #N/A to Excel via UDF
Sébastien de Menten <[email protected]>
| Newsgroups | gmane.comp.python.windows |
|---|---|
| Message-ID | <CAB2pxDsWyWB=K6_aMyiBPigeaUP6ctgc-au3Lyca9A-3CdEgEA@mail.gmail.com> |
I would like to return #N/A values to excel via an UDF written in python (via xlwings) Returning a `VARIANT(pythoncom.VT_ERROR, 2042)` from the UDF results in an empty cell. Is there within pywin32/pythoncom an equivalent of VBA `CVErr(xlErrNA)` ? Sébastien _______________________________________________ python-win32 mailing list [email protected] https://mail.python.org/mailman/listinfo/python-win32