Results 1 to 5 of 5

Thread: Copy and Paste Problem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Ok I ran this macro an the code was executed. However, the numbers in the cell must be a label. I still can not create formulas.

    [vba]Sub CleanSheet1()
    Dim Cell As Range
    For Each Cell In Sheet1.UsedRange
    Cell.Value = Trim(Cell)
    Next Cell
    End Sub[/vba]

    Last edited by Aussiebear; 03-10-2011 at 03:09 PM. Reason: added VBA Tags to code

Posting Permissions

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