akkinarula
New Member
- Joined
- Sep 2, 2011
- Messages
- 27
hi all,
i m having following formula in vba ,but it is not dispalying the result in target cells
astr1 = "'Rcl Mix'!R" & Trim(Str(i)) & "C2"
astr2 = "'Rcl Mix'!R" & Trim(Str(b)) & "C7"
str2 = "=CONCATENATE(" & astr1 & ","" "" " & "," & astr2 & ")"
crange1 = "G" & Trim(Str(i)) & ":H" & Trim(Str(i))
Range(crange1).Select
Sheets("Rcl Mix").Select
ActiveCell.FormulaR1C1 = _
"=COUNTIF('Customer''s Details'!R13C79:R262C79,str2)"
anybody having solution for this then plz help me
i m having following formula in vba ,but it is not dispalying the result in target cells
astr1 = "'Rcl Mix'!R" & Trim(Str(i)) & "C2"
astr2 = "'Rcl Mix'!R" & Trim(Str(b)) & "C7"
str2 = "=CONCATENATE(" & astr1 & ","" "" " & "," & astr2 & ")"
crange1 = "G" & Trim(Str(i)) & ":H" & Trim(Str(i))
Range(crange1).Select
Sheets("Rcl Mix").Select
ActiveCell.FormulaR1C1 = _
"=COUNTIF('Customer''s Details'!R13C79:R262C79,str2)"
anybody having solution for this then plz help me