[SOLVED] Test for alpha char


"Excel VBA Help"

 

To stop seeing these ads and get other benefits check This page!
Automatic Translations (Powered by Powered by Google )
Catalan Chinese Croatian Czech Danish Dutch English Finnish French Galician German Greek Hindi Indonesian Italian Japanese Korean Latvian Lithuanian Norwegian Persian Polish Portuguese Romanian Serbian Slovak Slovenian Spanish Swedish Thai Turkish Ukrainian Vietnamese
Go Back   The Code Cage Forums > Microsoft Topics > Microsoft Excel Forum
Page showing the last 10:-
The Code Cage - Microsoft Office help


Microsoft Excel Forum Members Post questions in this forum if they are related to using Microsoft Excel, this includes Worksheet Functions, Excel VBA Programming, Simple Macro Code & Charting, Excel formula etc.

New Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 18th September 2009, 23:54
miek's Avatar
miek
Newsgroup Contributor
 
Posts: n/a
My Top Tip Count:
Chats:
Default Test for alpha char
     Excel: VBA   


I'm trying to test a string for alpha chars, if alpha char append char to a
new string
The following does not work. Is there a tweak I can apply?

l_Alpha_chars = "abcd1"
For q = 1 To Len(l_Alpha_chars)
l_chr = Mid(l_Alpha_chars, q, 1)
If l_chr = [a..z] Then
NewStr = NewStr & l_chr
End If
Next q

Reply & Quote Reply


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement
  #2 (permalink)  
Old 19th September 2009, 00:42
Ron Rosenfeld's Avatar
Ron Rosenfeld
Newsgroup Contributor
 
Posts: n/a
My Top Tip Count:
Chats:
Default Re: Test for alpha char

------ Register to get rid of these "In Post" ads! ------


Warning

Warning



Sorry but you need to register for FREE to see the rest of these posts. Please click HERE to register.

We only allow guests to see the first post of every thread to keep valuable resources for our members.






Reply & Quote Reply


Did you find this post helpful? Yes | No
  #3 (permalink)  
Old 19th September 2009, 00:42
Chip Pearson's Avatar
Chip Pearson
Newsgroup Contributor
 
Posts: n/a
My Top Tip Count:
Chats:
Default Re: Test for alpha char

------ Register to get rid of these "In Post" ads! ------


Warning

Warning



Sorry but you need to register for FREE to see the rest of these posts. Please click HERE to register.

We only allow guests to see the first post of every thread to keep valuable resources for our members.






Reply & Quote Reply


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement
  #4 (permalink)  
Old 19th September 2009, 04:54
Rick Rothstein's Avatar
Rick Rothstein
Newsgroup Contributor
 
Posts: n/a
My Top Tip Count:
Chats:
Default Re: Test for alpha char

------ Register to get rid of these "In Post" ads! ------


Warning

Warning



Sorry but you need to register for FREE to see the rest of these posts. Please click HERE to register.

We only allow guests to see the first post of every thread to keep valuable resources for our members.






Reply & Quote Reply


Did you find this post helpful? Yes | No
  #5 (permalink)  
Old 19th September 2009, 12:11
Chip Pearson's Avatar
Chip Pearson
Newsgroup Contributor
 
Posts: n/a
My Top Tip Count:
Chats:
Default Re: Test for alpha char

------ Register to get rid of these "In Post" ads! ------


Warning

Warning



Sorry but you need to register for FREE to see the rest of these posts. Please click HERE to register.

We only allow guests to see the first post of every thread to keep valuable resources for our members.






Reply & Quote Reply


Did you find this post helpful? Yes | No
  #6 (permalink)  
Old 19th September 2009, 17:32
miek's Avatar
miek
Newsgroup Contributor
 
Posts: n/a
My Top Tip Count:
Chats:
Default Re: Test for alpha char

------ Register to get rid of these "In Post" ads! ------


Warning

Warning



Sorry but you need to register for FREE to see the rest of these posts. Please click HERE to register.

We only allow guests to see the first post of every thread to keep valuable resources for our members.






Reply & Quote Reply


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement
Global Live Casino

To stop seeing these ads and get other benefits check This page!

  #7 (permalink)  
Old 19th September 2009, 17:32
miek's Avatar
miek
Newsgroup Contributor
 
Posts: n/a
My Top Tip Count:
Chats:
Default Re: Test for alpha char

------ Register to get rid of these "In Post" ads! ------


Warning

Warning



Sorry but you need to register for FREE to see the rest of these posts. Please click HERE to register.

We only allow guests to see the first post of every thread to keep valuable resources for our members.






Reply & Quote Reply


Did you find this post helpful? Yes | No
  #8 (permalink)  
Old 19th September 2009, 19:13
Ron Rosenfeld's Avatar
Ron Rosenfeld
Newsgroup Contributor
 
Posts: n/a
My Top Tip Count:
Chats:
Default Re: Test for alpha char

------ Register to get rid of these "In Post" ads! ------


Warning

Warning



Sorry but you need to register for FREE to see the rest of these posts. Please click HERE to register.

We only allow guests to see the first post of every thread to keep valuable resources for our members.






Reply & Quote Reply


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement
New Reply
The Code Cage at Facebookhe Code Cage at Twitter


Tags
alpha, char, test

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


The Code Cage Affilliates


To stop seeing these ads and get other benefits check This page!


http://www.thecodecage.com/forumz tested by McAfee Security http://www.thecodecage.com/forumz tested by McAfee Security

All times are GMT +1. The time now is 14:20.


Translated to other languages supported by vB Enterprise Translator 3.6.3
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
SEO by vBSEO
Template-Modifications by TMS
No part of this board, functionality or creatives may be copied or reproduced either in part or full without the express permission of The Code Cage Team.
Copyright © Simon Lloyd 2008 - 2013
We are not associated with nor employed by Microsoft in any way, we simply provide resources!
All MS office icons are registered trademarks of the application they represent and are used with permission from Microsoft
UA-8135493-1
Cultural Forum | Study at Malaysian University