Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
indirect function is not one of the worksheet functions available in vba.
but the code Range("E8").Select ActiveCell.FormulaR1C1 = "=INDIRECT(R[-7]C[-4])" Range("E8").Select (this is based on a macro created on going through the steps) works . But activecell=indirect(range("a1")) does not work nor activecell=application.indirect(range("a1")) nor activecell.formula="application.indirect(range("a1 ")" any comments or any of my codes wrong. ?? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Try: Sub myIndirect() Range("E8").Select ActiveCell.Value = Range(Range("A1").Value).Value End Sub Hoop this helps, Executor |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thank you. that helps.
"Executor" wrote in message oups.com... Hi, Try: Sub myIndirect() Range("E8").Select ActiveCell.Value = Range(Range("A1").Value).Value End Sub Hoop this helps, Executor |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using INDIRECT Function and INDEX Function | Excel Discussion (Misc queries) | |||
Indirect function help please | Excel Worksheet Functions | |||
INDIRECT function inside AND function | Excel Worksheet Functions | |||
Function INDIRECT | Excel Worksheet Functions | |||
Indirect Function and Sum | Excel Worksheet Functions |