+ Reply to Thread
Results 1 to 7 of 7

Macro to remove ellipses from columns

  1. #1
    Registered User
    Join Date
    02-04-2013
    Location
    Buffalo, New York
    MS-Off Ver
    Excel 2010
    Posts
    27

    Macro to remove ellipses from columns

    I need a macro that I can assign to a button so when I click it, it removes any instances of an ellipse, which is 3 consecutive dots, for example "..." and is replaced with a single space.

    I need the macro to remove all ellipses from column D and column E and replace each ellipse with a single space. For example, "Please replace...your hardhats." would become "Please replace your hardhats."

    I can't figure out how to do it and it seems so easy to write!

    Thanks

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro to remove ellipses from columns

    It is a single sheet, you do not a code to do this. Highlight columns D and E Use CTRL plus H, type ... and on replace box type . Done!

  3. #3
    Registered User
    Join Date
    02-04-2013
    Location
    Buffalo, New York
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Macro to remove ellipses from columns

    I understand that and appreciate the input, but we want the code to do it automatically for us when we hit the button to streamline the process because the button does three other functions as well....

  4. #4
    Registered User
    Join Date
    02-07-2013
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Macro to remove ellipses from columns

    You could try pasting the following code in and see if that does the trick:

    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro to remove ellipses from columns

    sly,
    I think you have missed a dote with in the quotation mark

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro to remove ellipses from columns

    sly,
    I think you have missed a dote with in the quotation mark

  7. #7
    Registered User
    Join Date
    02-04-2013
    Location
    Buffalo, New York
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Macro to remove ellipses from columns

    Slylikeme,

    I tried the code you gave me and it did not work. Also, I don't need the ellipses to be removed and replaced by a space for every column in the worksheet, just in column D and column E.

+ 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