Solved

Get a str = to 9 characters?

Posted on 2014-04-08
5
91 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 51

Accepted Solution

by:
Rgonzo1971 earned 500 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 51

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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

734 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