LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Trim does not work

I'm trying to create a macro to format a lot of data for a person who's not
very sophisticated with Excel.
I've followed one of the suggestions on this post using msgbox
asc(left(A5,1)) to find out that what appears to be "spaces" are not actually
spaces but is chr(65). The earlier post also said that chr(160) is common.
My question is:
How do I detect what chr it is so that I can remove it. The Replace
functions works to remove the chr only if I can identify what the characters
are.
Thanks in advance


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trim Function... does not work? Doug929 Excel Programming 8 November 23rd 05 03:55 PM
VBA Trim and Application.worksheetfunction.Trim Hari Prasadh Excel Programming 3 January 19th 05 02:22 PM
using trim cmd. When I type this command it does not work. When I. Rafiq Excel Worksheet Functions 1 January 5th 05 01:37 PM
Trim function won't work in VBA Dave Peterson[_3_] Excel Programming 0 April 1st 04 03:54 AM
Trim function in Excel Doesn't work for certain cells Neeraja Excel Programming 1 October 14th 03 09:12 AM


All times are GMT +1. The time now is 05:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"