+ Reply to Thread
Results 1 to 5 of 5

Clean Trim Proper Function Using a Macro

  1. #1
    Registered User
    Join Date
    04-01-2008
    Posts
    54

    Clean Trim Proper Function Using a Macro

    Hi Everybody,

    I regularly work on large amount of data in excel for which I do the clean up everytime.
    I generally use Clean,Trim and Proper functions.

    Could someone please help me out with a macro which should do all the three activities with a click of button.

    For Example If Column A has data for first ten thousand rows and when I select the data and run the macro all the three functions should work on that and moreover then same action is done on column B it should work Vice versa.

  2. #2
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264
    Hi

    Perhaps:

    Please Login or Register  to view this content.
    Richard
    Richard Schollar
    Microsoft MVP - Excel

  3. #3
    Registered User
    Join Date
    10-14-2012
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Clean Trim Proper Function Using a Macro

    Thank you Mr. Schollar for sharing your module. It was simple and fast!

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Clean Trim Proper Function Using a Macro

    @ whatsthebigdea

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as "SOLVED".
    For the meantime I'll do it for you.

    How?
    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

    Note:
    You can also thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given.
    By doing so you can add to the reputation(s) of those who helped and shared their time in helping you.
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  5. #5
    Registered User
    Join Date
    10-14-2012
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Clean Trim Proper Function Using a Macro

    Thank you~

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Running a macro from an IF Function in excel
    By adamski in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-25-2008, 05:47 PM
  2. Should I use Goal Seek, a function, or a macro?
    By hashijouzu in forum Excel General
    Replies: 1
    Last Post: 06-26-2007, 11:33 PM
  3. Can you stop the Trim function translating hyphenated cells into date format?
    By iterature in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-14-2007, 09:40 AM
  4. Function or Macro
    By VBA Noob in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-30-2006, 09:37 PM
  5. Excel maro macro to look up a closed excel function workbook.
    By hittingtime in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-23-2006, 10:00 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