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: 1
Default identifying the character represented by a square box


Hi all

How can I identify the character code for a square box into the
following line of code?

Range("D3:D" & LastRow).value = "=IF(LEN(A3)=0,IF(LEFT(A4,1)=" ","Keep
as divider","DELETE"),IF(LEFT(A3,10)="principal:","St art of
message","Contains info"))"

Currently this line results in the VBE error "invalid character" & I am
hoping to incorporate it into the string by using something like its
character code. Is this possible?

background info:
This is part of a larger collection of macros that work together to
allow me to filter & search historical emails (in a text file) after my
company swaps from Lotus Notes to Outlook. I hope to be able to provide
this to work colleagues for their use as well.
Column A contains the text from the messages & the character visually
represented by the square box appears to be the divider between email
trails & so I have offset it by one row eg "A4" cf "A3".

This box would not copy into a formula, but was able to copy it into a
cell & build the formula around it.

Any suggestions are greatly appreciated,

Rob Brockett
NZ
Always learning & the best way to learn is to experience...


--
broro183
------------------------------------------------------------------------
broro183's Profile: http://www.excelforum.com/member.php...o&userid=30068
View this thread: http://www.excelforum.com/showthread...hreadid=530477

 
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
problem with test to columns feature identifying odd delimiting character mark_jm via OfficeKB.com Excel Discussion (Misc queries) 4 May 4th 10 11:22 AM
I need to replace a non printable character, A small white square Melissa Excel Discussion (Misc queries) 5 July 5th 06 11:38 PM
identifying the first character in a string dstiefe Excel Programming 1 March 15th 06 01:19 AM
Choosing the square character as a delimiter Tim Mc Excel Discussion (Misc queries) 1 June 30th 05 01:31 AM
Unwanted Square Character in .txt file Robert Christie[_3_] Excel Programming 7 February 13th 04 02:31 AM


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