Results 1 to 9 of 9

TRIM a range of cells with evaluate

Threaded View

  1. #1
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    TRIM a range of cells with evaluate

    Dear all,

    Could someone provide me with the EVALUATE equivalent of
    for each ccell in MyRng
      ccell.value = TRIM(ccell.value)
    Next
    It should look something like:
    With MyRng
      .Value = Evaluate("TRIM(" & .Address & ")")
    End With
    but this version take only the first address (cell(1,1)) of myRng
    Last edited by rwgrietveld; 03-17-2010 at 07:03 AM.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1