Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Automatic InsertSymbol
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Word Automatic InsertSymbol
Divers
Thread ID:
00840443
Message ID:
00840443
Vues:
58
I am attempting to use Word automation to insert a box symbol into a Word Table. Everytime i get to the range inside of the table cell, I get the following error:

OLE IDispatch exception code 0 from Microsoft Word: This method or property is not available because the object does not refer to simple range or selection...

My code is something like this:
otable = oword.activedocument.tables.add( 1,5)
ocell = otable.cell( 1,3)
orange = ocell.range
orange.InsertSymbol( 9633,'',1 )

Can anyone help me to do this without the error?

DB
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform