Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Lloyd Alvarez   on Oct 17 In MS Office Category.

  
Question Answered By: Angelica Ramos   on Oct 17

Lookup the help  for "left" and "mid".

firstTen_A = Left(str, 10) should give you the first ten chars ...
if ( mid(str, 4, 1) = "P" ) then ... will allow you to check  the 4th char.

Not used VB/VBA much recently and the syntax may be incorrect. Read the
help.

Share: 

 

This Question has 5 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on checking strings Or get search suggestion and latest updates.


Tagged: