I have tried the INDIRECT function but this does not correctly the question I posted. It seems to me that the INDIURECT function is the same as =Cell.
**********************************
Ex.
A10 = 777
B21 =INDIRECT("A10") or =A10
B21 = 777 after any of the above is entered.
**********************************
Please note: I am using multiple sheets. The number 3191 is a row number that I need to change dynamically, meaning it is always changing with every run.
Ex. the sheet QUERY will generate x amounts or rows (different every day) the formula(s) are on a separate sheet OUTPUT. The value to change 3191 (currently hardcoded) does change every day.
I was thinking of a variable value or Range("A1").Value, but this direction has not been successful.
Did you read Skip's FAQ that he linked to? It has your answer.
Something to keep in mind while you're reading it: You'll want to use the OFFSET function, then use the COUNT or COUNTA function within it to count how many rows there are.
[tt]_____
[blue]-John[/blue]
[/tt][red]Quidquid latine dictum sit, altum viditur[/red]
Help us help you. Please read FAQ181-2886 before posting.
Yes I read it but did not find it usefull for my case. I went a different way by creating the string with the variable and then asigning the string to the corrent cell.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.