Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default String Variables

I have a string variable called NAME. The variable holds a person's
name:

for example NAME = Peter

How do I return the first letter from the string variable NAME(i.e.
P). What string function do I use?

thankyou
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default String Variables

FirstLetter = Left(Name,1)
Will do the job.
--
Best Regards
Leo Heuser
MVP Excel

Followup to newsgroup only please.

skrev i en meddelelse
om...
I have a string variable called NAME. The variable holds a person's
name:

for example NAME = Peter

How do I return the first letter from the string variable NAME(i.e.
P). What string function do I use?

thankyou



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
Not at all clear on use of variables and/or object variables JMay-Rke Excel Discussion (Misc queries) 11 July 4th 08 06:36 PM
Change 3 letter text string to a number string Pete Excel Discussion (Misc queries) 3 December 31st 07 07:47 PM
How do I string formulas together in Excel to display variables DavidB New Users to Excel 19 October 10th 06 09:44 AM
String variables John New Users to Excel 3 July 16th 06 09:08 PM
to search for a string and affect data if it finds the string? Shwaman Excel Worksheet Functions 1 January 11th 06 12:56 AM


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