Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Re : Excel Match and Tilde (~)

1. Enters the following Code in an Excel VBA module. List1, 2 and 3
are declared Variants.

List3 = Application.Match(List1, List2, 0)

For Mu = LBound(List3, 1) To UBound(List3, 1)
MsgBox List3(Mu, 1)
Next Mu

2. List1 and List2 are separate lists of text values in respective
columns of a worksheet.

3. That statement, MsgBox List3(Mu, 1), causes an error amidst code
execution.

4. Upon investigation, it was inferred that a text item such as,
Text~String, had interrupted code execution.

5. The culprit might be that mid-string character Tilde (~).

6. Please share your experience and comment.

7. Regards.
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
Parsing text containing a tilde "~"? Big UT Fan Excel Discussion (Misc queries) 6 January 30th 10 05:49 AM
Lookup Formula: Return 1st match, then 2nd match, then 3rd match Scott Excel Discussion (Misc queries) 4 December 11th 09 05:50 AM
How to perform Search and Replace on "Tilde", CHAR(126), ~ [email protected] Excel Worksheet Functions 2 March 28th 07 06:57 PM
How to replace a tilde with the corresponding headword [email protected] Excel Programming 4 January 4th 07 11:51 AM
how do I type a tilde over the letter "n" in Excel? JobSeeker Excel Discussion (Misc queries) 2 July 21st 05 07:22 PM


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

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

About Us

"It's about Microsoft Excel"