Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Business Applications Business Applications
Search Search
Search for:
Tech Support Guy > > >

Excel display char(160) as ?


(!)

Garf13LD's Avatar
Garf13LD Garf13LD is offline
Member with 455 posts.
THREAD STARTER
 
Join Date: Apr 2012
Experience: Intermediate
17-Jun-2012, 04:19 AM #1
Excel display char(160) as ?
My home pc is using china chinese as system locale.
I need to find and replace char(160) in excel.
It gives me ? and wipe everything clean in my sheet.
Any solution?
btw using win7 with office 2010
Keebellah's Avatar
Keebellah   (Hans) Keebellah is offline Keebellah is a Trusted Advisor with special permissions. Keebellah has a Profile Picture
Computer Specs
Trusted Advisor with 5,428 posts.
 
Join Date: Mar 2008
Location: Oegstgeest, The Netherlands
Experience: Advanced
17-Jun-2012, 07:17 AM #2
I think you've checked it too but extended ASCII is a problem:

http://www.globaliconnect.com/excel/...=78&Itemid=474

http://www.globaliconnect.com/excel/...=78&Itemid=474

I'll see if I can find something for you, but this is the first quick search.

You might just have to select the character, copy and then run a replace with?
Garf13LD's Avatar
Garf13LD Garf13LD is offline
Member with 455 posts.
THREAD STARTER
 
Join Date: Apr 2012
Experience: Intermediate
17-Jun-2012, 09:43 AM #3
I got the temp solution to freeze the code.
if chr(160)="?" then
"do nothing"
else
.Replace What:=Chr(160), Replacement:="", LookAt:=xlPart
end if
Keebellah's Avatar
Keebellah   (Hans) Keebellah is offline Keebellah is a Trusted Advisor with special permissions. Keebellah has a Profile Picture
Computer Specs
Trusted Advisor with 5,428 posts.
 
Join Date: Mar 2008
Location: Oegstgeest, The Netherlands
Experience: Advanced
17-Jun-2012, 01:45 PM #4
I don't think a sample will work here but I could try, we have a 'Chinese' environment at work.
Keebellah's Avatar
Keebellah   (Hans) Keebellah is offline Keebellah is a Trusted Advisor with special permissions. Keebellah has a Profile Picture
Computer Specs
Trusted Advisor with 5,428 posts.
 
Join Date: Mar 2008
Location: Oegstgeest, The Netherlands
Experience: Advanced
17-Jun-2012, 03:25 PM #5
I don't think you have to eplicitly select Chr(160) but putthat character in a one lenght string

replace(yourstring,mid(yourstring,x,1),"") where x is the position of that particular character.

Is this an idea?
Garf13LD's Avatar
Garf13LD Garf13LD is offline
Member with 455 posts.
THREAD STARTER
 
Join Date: Apr 2012
Experience: Intermediate
18-Jun-2012, 04:23 AM #6
the system detect it as 32, so I guess I can do a trim as the original data is from website.
Or I don't try to bring my work home. lol
Keebellah's Avatar
Keebellah   (Hans) Keebellah is offline Keebellah is a Trusted Advisor with special permissions. Keebellah has a Profile Picture
Computer Specs
Trusted Advisor with 5,428 posts.
 
Join Date: Mar 2008
Location: Oegstgeest, The Netherlands
Experience: Advanced
18-Jun-2012, 05:38 AM #7
I think the last option is good. I generally do go on at home
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑