View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
andrei[_6_] andrei[_6_] is offline
external usenet poster
 
Posts: 1
Default Macro/function that keeps in a cell a given number of characters


Many columns , many cells . Some with text ( including numbers , empty
spaces etc ) some with no content . I need a macro that keeps in a cell
a given number of characters ( the first 5 or first 10 characters ) and
delets the rest

Example :

I need the macro function to keep the first 11 characters

A1 : Mommy and daddy went home

The result should be :

A1: Mommy and d


--
andrei
------------------------------------------------------------------------
andrei's Profile: http://www.thecodecage.com/forumz/me...hp?userid=1056
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=148346