Borrar filtros
Borrar filtros

No method 'TypeText' with matching signature found for class

4 visualizaciones (últimos 30 días)
Lakshmi Navya Sunkara
Lakshmi Navya Sunkara el 24 de Mzo. de 2016
Comentada: Walter Roberson el 25 de Abr. de 2019
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.

Respuestas (1)

Simone Lojeck
Simone Lojeck el 25 de Abr. de 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.

Categorías

Más información sobre Characters and Strings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by