Help on Code Snippet Error {Val function}
Jo
thanks for your help
Tim
"joeu2004" wrote in message
...
After-thought.... I wrote:
Val(Replace(LTrim(RTrim(.Cells(iFirstDataRow, iTestCol))," ",","))
RTrim is not necessary. Simply:
Val(Replace(LTrim(.Cells(iFirstDataRow, iTestCol))," ",","))
(Hmm, also corrects a copy-and-paste typo in the original expression.)
|