Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default check if a string contains a particular character


Hi

I have a number of cells in a worksheet that I will read and save to a
database.
Before I save I want to check if the string contains an particular
character.

How do I do that?

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default check if a string contains a particular character


On Thu, 09 Jul 2009 03:22:47 -0700, kalle wrote:


Hi

I have a number of cells in a worksheet that I will read and save to a
database.
Before I save I want to check if the string contains an particular
character.

How do I do that?

*** Sent via Developersdex http://www.developersdex.com ***


Look at the Instr method
--ron
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default check if a string contains a particular character


On Thu, 09 Jul 2009 06:47:19 -0400, Ron Rosenfeld
wrote:

Look at the Instr method
--ron


That should read "Instr Function" (not method).
--ron
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default check if a string contains a particular character




Hi

Thanks for your help!

*** Sent via Developersdex http://www.developersdex.com ***
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
Check for character in string dksaluki Excel Discussion (Misc queries) 3 December 11th 07 12:53 PM
Excel-Match 1st text character in a string to a known character? bushlite Excel Worksheet Functions 2 January 15th 07 06:36 PM
check if the text string start with a specific character September21 New Users to Excel 5 September 22nd 05 03:07 PM
Function to return Character Position of Xth character within a string Andibevan[_2_] Excel Programming 4 June 9th 05 03:24 PM
Check if first character of string is in array Jonathan[_8_] Excel Programming 4 October 11th 03 12:07 AM


All times are GMT +1. The time now is 10:18 AM.

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"