Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual Basic for Applications question
Message
 
 
To
12/04/2007 20:02:16
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01214823
Message ID:
01215342
Views:
21
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform