+ Reply to Thread
Results 1 to 3 of 3

How to apply LEN in UDF?

  1. #1
    Forum Contributor
    Join Date
    02-18-2013
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    112

    How to apply LEN in UDF?

    Hi. Can someone help me on creating a UDF that accept any text on and output the lenght of it. Here is the code I tried to start but I don't know how to proceed to get a result:
    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    14,567

    Re: How to apply LEN in UDF?

    to return a value from the UDF, assign the desired result to the function name:
    Please Login or Register  to view this content.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor
    Join Date
    02-18-2013
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    112

    Re: How to apply LEN in UDF?

    Hi. I got it. I changed it to:
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to apply VBA in every row
    By Evan. in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-30-2016, 08:37 PM
  2. [SOLVED] Apply Macro First UnprotectSheet After Apply Macro ProtectAgain Solved by : Sixthsense
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-02-2014, 05:32 AM
  3. How do i apply...
    By banny85 in forum Excel General
    Replies: 1
    Last Post: 06-22-2011, 12:30 PM
  4. Apply Names
    By Steve_Courts in forum Excel General
    Replies: 2
    Last Post: 11-12-2009, 07:13 PM
  5. anyone know how to apply for a job
    By Cheeky Charlie in forum The Water Cooler
    Replies: 6
    Last Post: 01-30-2009, 05:37 AM
  6. Does an if then apply here?
    By loc066 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-21-2008, 09:16 PM
  7. [SOLVED] Apply to next X cells to the right...
    By BeSmart in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-24-2005, 11:07 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1