+ Reply to Thread
Results 1 to 3 of 3

Delete specific text in spreadsheet

Hybrid View

  1. #1
    SITCFanTN
    Guest

    Delete specific text in spreadsheet

    I'm thinking this is pretty easy to do, I'm new with VBA so would like your
    help. I have a huge spreadsheet that I download each day and in this
    spreadsheet is the phrase "Split Payment". I want to delele that text
    anyplace it appears in the spreadsheet. How would I accomplish this? Thanks

  2. #2
    Gary''s Student
    Guest

    RE: Delete specific text in spreadsheet

    Sub Macro2()
    Cells.Replace What:="Split Payment", Replacement:="", LookAt:=xlPart, _
    SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
    ReplaceFormat:=False
    End Sub

    --
    Gary's Student


    "SITCFanTN" wrote:

    > I'm thinking this is pretty easy to do, I'm new with VBA so would like your
    > help. I have a huge spreadsheet that I download each day and in this
    > spreadsheet is the phrase "Split Payment". I want to delele that text
    > anyplace it appears in the spreadsheet. How would I accomplish this? Thanks


  3. #3
    Greg Wilson
    Guest

    RE: Delete specific text in spreadsheet

    Further to Gary's post, you can use Excel's Find utility: Edit > Find
    Use the Replace feature except leave the "Replace with" window blank.

    Regards,
    Greg

    "SITCFanTN" wrote:

    > I'm thinking this is pretty easy to do, I'm new with VBA so would like your
    > help. I have a huge spreadsheet that I download each day and in this
    > spreadsheet is the phrase "Split Payment". I want to delele that text
    > anyplace it appears in the spreadsheet. How would I accomplish this? Thanks


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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