melewie
Board Regular
- Joined
- Nov 21, 2008
- Messages
- 188
- Office Version
- 365
- Platform
- Windows
Hi all,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com
ffice
ffice" /><o
></o
>
<o
></o
>
I have this formula in VBA.<o
></o
>
ActiveCell.FormulaR1C1 = _
"=COUNTBLANK('[Employee_Data_Report_TEST.xls]Missing Data'!R[1]C[1]:R" & NumRows & "C1)"<o
></o
>
<o
></o
>
This is how it appears on the worksheet =COUNTBLANK('Missing Data'!$A3:B$690)<o
></o
>
<o
></o
>
But I need it to be a relative reference so it can be dragged across.<o
></o
>
<o
></o
>
Any help is greatly appreciated,
Thank you.




<o


I have this formula in VBA.<o


ActiveCell.FormulaR1C1 = _
"=COUNTBLANK('[Employee_Data_Report_TEST.xls]Missing Data'!R[1]C[1]:R" & NumRows & "C1)"<o


<o


This is how it appears on the worksheet =COUNTBLANK('Missing Data'!$A3:B$690)<o


<o


But I need it to be a relative reference so it can be dragged across.<o


<o


Any help is greatly appreciated,
Thank you.