Article ID: 213646 - Last Review: January 23, 2007 - Revision: 5.2 How to use the left, right, mid, and len functions in Visual Basic for Applications in ExcelThis article was previously published under Q213646
For a Microsoft Excel 97 and earlier and Microsoft Excel 98 Macintosh Edition and earlier version of this article, see 141287
(http://support.microsoft.com/kb/141287/
)
.
SUMMARY
This article contains examples of how to manipulate text strings using the
Left, Right, Mid, and Len functions in Microsoft Visual Basic for Applications in Microsoft Excel.
MORE INFORMATIONMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure. However, they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. To following procedure demonstrates the use of the Left, Right, Mid, and Len functions of Microsoft Visual Basic for Applications in Microsoft Excel:
REFERENCES
For more information about these functions, type the following text on a module
sheet:
Len
Highlight the function about which you want more information, and then press F1.
Right Left Mid | Article Translations
|
Back to the top
