Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 413
Default Identify strange character

I've imported a text file into Excel 2000 and I'm splitting
the data in col A.

There are 3 types of data:
1: 9 099\1\A
2: B
and on occasions a strange character that looks like a
box........that is to say _
| |
--
but the sides are all joined together.

I need to recognise this character because its location in
col A represents the start/end of a set of data.

Using IsNumeric lets me skip over the type 2 data, but I
can't find a way to trap the 'box' character.

Any ideas, please?

Regards.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 03/02/2004


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Identify strange character

Hi Stuart
one way
use the function CODE(your_cell_reference) to identify the code of this
'strange' character.
After knowing this you can use FIND to check for this charatcer or
SUBSTITUE to delete

Frank

Stuart wrote:
I've imported a text file into Excel 2000 and I'm splitting
the data in col A.

There are 3 types of data:
1: 9 099\1\A
2: B
and on occasions a strange character that looks like a
box........that is to say _
| |
--
but the sides are all joined together.

I need to recognise this character because its location in
col A represents the start/end of a set of data.

Using IsNumeric lets me skip over the type 2 data, but I
can't find a way to trap the 'box' character.

Any ideas, please?

Regards.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 03/02/2004



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 413
Default Identify strange character

Thanks for that.

The problem I had was in finding the character in the first place.
I got around that by displaying an inputbox where the user could
type the address of a character, and from there I set a variable
to that cell's value.

Regards and thanks

"Frank Kabel" wrote in message
...
Hi Stuart
one way
use the function CODE(your_cell_reference) to identify the code of this
'strange' character.
After knowing this you can use FIND to check for this charatcer or
SUBSTITUE to delete

Frank

Stuart wrote:
I've imported a text file into Excel 2000 and I'm splitting
the data in col A.

There are 3 types of data:
1: 9 099\1\A
2: B
and on occasions a strange character that looks like a
box........that is to say _
| |
--
but the sides are all joined together.

I need to recognise this character because its location in
col A represents the start/end of a set of data.

Using IsNumeric lets me skip over the type 2 data, but I
can't find a way to trap the 'box' character.

Any ideas, please?

Regards.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 03/02/2004





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 03/02/2004


Reply
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
convert to GBP - formula to identify 1st character and Acc type Johnny Excel Discussion (Misc queries) 2 May 22nd 08 03:27 PM
Excel 2003 Identify a single character in column Charles Tippie Excel Worksheet Functions 2 September 8th 07 07:16 PM
Formula to identify character formatting (bold, italic, etc) alphaorionis Excel Worksheet Functions 3 July 1st 07 11:19 PM
strange character B of A BDO Excel Discussion (Misc queries) 5 December 13th 06 08:40 PM
identify data in a cell that has a number as the second character Brian Excel Worksheet Functions 1 December 12th 04 03:23 PM


All times are GMT +1. The time now is 01:56 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"