Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting a border property
Message
 
À
23/10/2003 15:02:37
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00841752
Message ID:
00841787
Vues:
16
Probably because your toRango contains only one cell. You cannot set inside borders in the single cell.

>Hola
>
>I’m receiving the next error while trying to set the LineStyle property for an Excel range of cells:
>
>(Translated from Spanish: )
>
>OLE dispatch exception code o of ?:?
>
>
>
>My pieces of code is:
>
>WITH toRango.Borders(12) && Horizontal Interno
> .LineStyle = 1 && Error triggers here
> .Weight = 3
>ENDWITH
>
>The error does not happen when setting the LineStyle property of several other borders like:
>toRango.Borders(9), toRango.Borders(10), etc.
>
>I'll appreciate any hints.
>
>Thanks in advance and regards.
>
>Oscar Corte
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform