Results 1 to 8 of 8

Remove Stop Words from a column containing 16000 rows of sentences

Threaded View

  1. #1
    Registered User
    Join Date
    10-29-2013
    Location
    Seattle
    MS-Off Ver
    Excel 2013
    Posts
    4

    Remove Stop Words from a column containing 16000 rows of sentences

    Hi - Im trying to remove stop words from a column containing 16,000 rows of sentences. The n00b code I have is not working. Any ideas on how I could do this?
    Attached is the list of stop words. COlumn 'D' in my excel sheet had the stop words.

    Sub Macro1()
    '
    ' Macro1 Macro
    '
    
    '
        Last = Cells(Rows.Count, "D").End(xlUp).Row
        For i = Last To 1 Step -1
        ActiveSheet.Range("A2:A17000").Select
        Selection.Replace What:=Cells(i, "D").Value, Replacement:=" ", LookAt:=xlPart, _
            SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
            ReplaceFormat:=False
        Next i
    End Sub
    Attached Files Attached Files
    Last edited by alansidman; 10-30-2013 at 06:06 PM. Reason: code tags

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How to manage number of words in sentences?
    By emil9216 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-01-2013, 04:25 AM
  2. Excel 2007 : Stop Excel from completing sentences
    By Bernt in forum Excel General
    Replies: 1
    Last Post: 07-20-2011, 04:59 AM
  3. List out words from sentences
    By ap_naveen in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-21-2010, 06:58 AM
  4. Split sentences into words
    By sparx in forum Excel General
    Replies: 5
    Last Post: 02-22-2006, 03:51 PM
  5. counting specific words:unique sentences
    By jen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-24-2005, 08:05 PM

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