Solved

Get a str = to 9 characters?

Posted on 2014-04-08
5
90 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

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
need count numbers IN ranges 25 30
Excel shared spreadsheet 12 36
create different version if file exists 1 44
Zip Codes Excel Spreadsheet 4 17
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
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 use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

739 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