Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Kris,
I ran into the same problem myself. None of the requisite References were Missing and I eventually solved the problem by prefixing the Trim, Len, Left (and for good measure Right and Mid) functions with the four characters "VBA." E.g., x = VBA.Left(y,3), etc. To shorten the keystrokes as I develop programs, I actually code this example as x = Lft(y,3) and then in a code module have: Function Lft(StringVar As Variant, NCharacters As Long) As String Lft = VBA.Left(StringVar, NCharacters) End Function -- Dennis Eisen |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
trim everything from left of first underscore in the text? | Excel Worksheet Functions | |||
TRIM, LEFT, RIGHT | Excel Worksheet Functions | |||
Text Causing a Problem in Formula | Excel Discussion (Misc queries) | |||
left trim | Excel Worksheet Functions | |||
minus numbers causing a problem | New Users to Excel |