Thread
:
Formula to copy another cell's contents - Help!
View Single Post
#
5
Posted to microsoft.public.excel.misc
Don Guillett
external usenet poster
Posts: 10,124
Formula to copy another cell's contents - Help!
try this
Sub fillindirect()
For i = 1 To 150
Cells(i, "L").Formula = _
"=indirect(""b" & i & """)"
Next i
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"Richorton" wrote in message
...
Thanks for your speedy response!
I don't suppose there's an easy way to auto fill that formula for the 150
rows I have is there?
"Mike H" wrote:
=INDIRECT("B1")
Mike
"Richorton" wrote:
Is there a formula that will show what the contents of another cell is.
Example
A1 =(B1)
The Value of B1 is 'Test'
Therefore the value of A1 is 'Test'
However if I were to drag Cell B1 to, lets say, C1
The formula in A1 would automatically change to =(C1) and the value
would
remain 'Test'.
I want it so the formula in A1 stays as =(B1), no matter if I move the
cell
Is this possible?
Many Thanks
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett