-
Clean trim code explanation
Hi there,
I have the following code from the web for clean trim range. I just don't understand why is there a condition using ROW ( "IF(ROW(") and how it works. Appreciate any help. Thanks!
r.Value = Evaluate("IF(ROW(" & r.Address & "),PROPER(TRIM(CLEAN(" & r.Address & "))))")
-
The IF(ROW()) part is there to force the result to be an array of values. (You could also use INDEX()) Without it, you'd just get one value back.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules