LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ron Ron is offline
external usenet poster
 
Posts: 250
Default testing for characters

I'm trying to test 2 columns of data in my spreadsheet.
Column "A" is definded by the string "S_Create", works great.
Columns "D" and "E" are defined as strings as well.
Column D contains text followed by multiple spaces. My "And" test fails
becase of the trialing spaces. How do I test for "contains characters" vs. =
Or.. how do I search for a string plus any other characters ex. "Feature
Defintion*" (which did not work).

Thanks, Ron

If s_Create = "X" And s_Col_D = "Feature Definition" Then
Print #1, s_Col_D & "=" & s_Col_E;
 
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
testing for left 2 characters in set of 3 choices MusicMan Excel Worksheet Functions 5 January 19th 10 11:30 PM
convert 5 characters in a cell to 6 characters by adding a zero Helenf Excel Discussion (Misc queries) 4 May 18th 09 04:43 PM
Insert Leading Characters If String Is Only 7 Characters Paperback Writer Excel Discussion (Misc queries) 2 April 21st 09 09:07 PM
In Excel find characters when multiple characters exist w/i a cel teacher-deburg Excel Worksheet Functions 1 December 5th 05 10:22 PM
HOW DO I EXTRACT ALL CHARACTERS AFTER 5 CHARACTERS ON LEFT GRYSYF Excel Worksheet Functions 5 October 12th 05 10:58 AM


All times are GMT +1. The time now is 06:44 AM.

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"