Results 1 to 7 of 7

Macro to truncate string... like "Len,Left,Right formulas"

Threaded View

Xx7 Macro to truncate string...... 02-27-2011, 12:21 AM
Leith Ross Re: Macro to truncate... 02-27-2011, 12:29 AM
Xx7 Re: Macro to truncate... 02-27-2011, 12:50 AM
Leith Ross Re: Macro to truncate... 02-27-2011, 01:53 AM
Xx7 Re: Macro to truncate... 02-28-2011, 03:20 AM
  1. #1
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Macro to truncate string... like "Len,Left,Right formulas"

    I would like a macro to identify the cell to the right, shorten the string of text and place it in the active cell. I want to snip characters off both the left and right sides.

    I would like a macro to perform as follows:

    Run macro

    Input box: "Enter the number of characters to delete from the left"

    **I'll enter... say "7"

    Input box: "Enter the number of characters to delete from the right"

    **I'll enter... say "4"

    **Then in the active cell it will produce a truncated string.

    Any help appreciated!!
    Last edited by Xx7; 02-28-2011 at 11:17 PM.

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