Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual Basic for Applications question
Message
 
 
À
12/04/2007 20:02:16
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01214823
Message ID:
01215342
Vues:
22
Replace harcoded column # with & CELL("row")
=INDIRECT("'" & INDIRECT(LEFT(ADDRESS(1, CELL("col"),4,TRUE),1) & "7") & "'!D" & CELL("row") )
>That is excellent, thank you. If it is not optimal it is plenty good enough.
>
>I had made one mistake in the description of the problem, though (sorry). I should have said:
>
>If the formula is in cell S10, the formula should be =INDIRECT("'" & S7 & "'!D10"). (The name of the worksheet is always in row 7 of the same column where the formula is, and the row from where the data is extracted should be the same row where the formula resides).
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform