Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP, Word, selected cell in table
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
VFP, Word, selected cell in table
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01045304
Message ID:
01045304
Vues:
67
Hi:
1) I am working with Word and have a table
oWord = CreateObject("Word.Application")
oWord.Visible = .t.
oDocument = oWord.Documents.Add()
CopyTable = oDocument.Tables.Add(oRange ,oRow, oColNum, wdWord9TableBehavior, wdAutoFitContent)
2) But my questions is this. Someone clicks on a particular cell in this table.
Is there a function that will tell me which cell has been selected?

From the command line in VFP, I can select a particular cell like this:
CopyTable.Cell(1,3).Select
The problem came up because when I did
CopyTable.Cell(1,1).Select
it selected row 1 and column 2 and I could not seem to select row 1 and column 1

Thanks
Steve
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform