UnsolvedCoding
Technical User
Is it possible to trim all the cells on a worksheet, in a workbook or in a range?
Something like Trim(cells) or Trim(Range("A3:C55")?
Something like Trim(cells) or Trim(Range("A3:C55")?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
dim r as range
for each r in YourRangeObject
r.value = trim(r.value)
next
if Range is a SINGLE RANGE reference, then that's all you need.Currently its coded so that the variables are collected as variable = trim(Range).value