Azzera filtri
Azzera filtri

No method 'TypeText' with matching signature found for class

4 visualizzazioni (ultimi 30 giorni)
I am exposed to this error when tried to enter text in the created word document. No method 'TypeText' with matching signature found for class 'Interface.00020975_0000_0000_C000_000000000046'.
Kindly help out with this.

Risposte (1)

Simone Lojeck
Simone Lojeck il 25 Apr 2019
I received the same error and found this posting searching for solutions. I'm adding a comment to help anyone who finds this in the same way I did.
As I've said I received the same error. My code would run w/o error for several iterations then fail on a specific case.
I did some step by step debugging and found that the text I was sending the selection.TypeText command on the iteration w/error was indeed different. It was expecting a text string (in my case {text}), however I was sending it an empty string ({[]}), which caused the error. I fixed this and the script no longer failed.
I'd recommend seeing exactly what input is being sent to the TypeText cmd. It's likely not a string or text like format.

Categorie

Scopri di più su Characters and Strings in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by