Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to get the value of a given cell address in excell
Is this for a worksheet formula?
=indirect(g3) in H3 if for vba: with activesheet .range("H3").value = .range(.range("g3").value).value end with Nauman wrote: Hi, It's probable very stupid easy, but I cannot seem to figure it out. I have three cells. F3,G3,H3 F3 = 23 (number) G3= $F$3 (as text) Now, in third cell i want to have a formule that would give me some thing like following. (Ofcourse it's a psudo code.) H3= value(G3)=23 or H3=value($F$3)=23 but I cannot pass the value $F$3 but only the cell address G3. Any idea? Thanks in advance for you help. -- Dave Peterson |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to get the value of a given cell address in excell
What about...
'in VBA code [H3] = Range([g3]).value That is if I understand your algorithm. You have a cell range defined in text at the location of g3 that points to a cell that holds the data that you want in H3. Is that correct? Thurman Dave Peterson wrote in message ... Is this for a worksheet formula? =indirect(g3) in H3 if for vba: with activesheet .range("H3").value = .range(.range("g3").value).value end with Nauman wrote: Hi, It's probable very stupid easy, but I cannot seem to figure it out. I have three cells. F3,G3,H3 F3 = 23 (number) G3= $F$3 (as text) Now, in third cell i want to have a formule that would give me some thing like following. (Ofcourse it's a psudo code.) H3= value(G3)=23 or H3=value($F$3)=23 but I cannot pass the value $F$3 but only the cell address G3. Any idea? Thanks in advance for you help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do you remove the numbers from a street address in EXCELL? | Excel Worksheet Functions | |||
How do I extract the address from a hyperlink in excell ? | Excel Discussion (Misc queries) | |||
how do I create address labels from excell sheet? | Excel Discussion (Misc queries) | |||
Can you Auto fill address in excell with a data base? | Excel Worksheet Functions | |||
How to get the value of a given cell address in excell | Excel Programming |