Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I can't seem to get the syntax right on this VBA statement:
I want to use a similar statement to : ActiveCell.FormulaR1C1 = "=PERCENTRANK( R[1]C[6]:R[10]C[6] , R[1]C[6] )" except that the array parameter "R[1]C[6]:R[10]C[6]" needs to be specified using row and column variables. Possibly something close to ActiveCell.FormulaR1C1 = "=PERCENTRANK( ActiveSheet.Range(Cells(1, 6), Cells(lastrow, 6)) , R[1]C[6] )" Can anyone help me fix the syntax or offer another approach? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Default User Defined Functions - How? | Excel Discussion (Misc queries) | |||
PASTE DOWN FUNCTIONS | Excel Worksheet Functions | |||
Parameters are not allowed in queries that can't be displayed grap | Excel Discussion (Misc queries) | |||
3 questions about automated c++ com add-in worksheet functions | Excel Worksheet Functions | |||
# of Functions per cell | Excel Worksheet Functions |