Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Get a str = to 9 characters?

Posted on 2014-04-08
5
Medium Priority
?
94 Views
Last Modified: 2014-04-08
If Len(strVBELN) > 9 Then

This line say if I am greater than 9.  How do I tell this that strVBELN has to be 9 characters, no more, no less?
0
Comment
Question by:RWayneH
  • 3
  • 2
5 Comments
 
LVL 53

Accepted Solution

by:
Rgonzo1971 earned 2000 total points
ID: 39985840
Hi

If Len(strVBELN) = 9 Then

Regards
0
 

Author Comment

by:RWayneH
ID: 39985883
I stated this wrong...  I needed it to say if it is anything else other than 9  sorry
0
 
LVL 53

Expert Comment

by:Rgonzo1971
ID: 39985884
Hi,

If Len(strVBELN) <> 9 Then

Regards
0
 

Author Comment

by:RWayneH
ID: 39985885
got it   <>   Thanks for the helps
0
 

Author Closing Comment

by:RWayneH
ID: 39985889
Thanks.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question