+ Reply to Thread
Results 1 to 7 of 7

.Characters function run-time error 438

  1. #1
    Forum Contributor
    Join Date
    12-11-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    517

    .Characters function run-time error 438

    Im trying to make it work with numbers but having no luck. gettimg error msg "runtime error 438 object doesnt support this property of method". Can someone please take a look? Thanks


    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: .Characters function run-time error 438

    Really not sure what you are trying to do but this will compile.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    12-11-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    517

    Re: .Characters function run-time error 438

    Quote Originally Posted by Norie View Post
    Really not sure what you are trying to do but this will compile.
    Please Login or Register  to view this content.
    Thanks Norie this works if values in A1 and B1 is text but it doesnt work if they are numbers

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: .Characters function run-time error 438

    Any chance you could upload a sample workbook and explain what you want to do?

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: .Characters function run-time error 438

    Are you required to use the .characters method/property? It appears to me that you are using the .characters method the same way one would use the Mid() function. I think the Mid() function will work on numbers, numbers stored as text, and the result of a function, where the .characters method only works on text literals. My thought is to replace the characters method with the mid() function
    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.

  6. #6
    Forum Contributor
    Join Date
    12-11-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    517

    Re: .Characters function run-time error 438

    Quote Originally Posted by Norie View Post
    Any chance you could upload a sample workbook and explain what you want to do?

    Click on GO ADVANCED and use the paperclip icon to open the upload window.
    Numbers in Cell A1 is the actual 7 digit number and in cell B1 having 7 digit numbers also but "ALMOST" identical from cell A1. It can be off by 1 or 2 digits. If these 2 cells are ALMOST identical, even if its off by one or 2 digits, i would like that value from cell B1 to show up in cell C1 otherwise cell C1 is left blank. Hope i made sense. Thanks Norie

  7. #7
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: .Characters function run-time error 438

    Any chance you could upload a sample workbook?

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

+ 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. VBA Characters() Function Fails when the Cell Content Exceeds 261 Characters
    By :) Sixthsense :) in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 03-07-2016, 06:37 AM
  2. Function works but I get a run time error 13.
    By Rob K in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-20-2014, 04:41 AM
  3. ByVal function and R/Time Error 13
    By Alexander.S in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-16-2013, 03:59 AM
  4. [SOLVED] Getting a Run Time error when I'm using Run function in VBA
    By ishaan198 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-14-2012, 02:02 AM
  5. [SOLVED] Getting a Run Time error when I'm using Run function in VBA
    By ishaan198 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-13-2012, 09:14 PM
  6. #NAME? Error for date day and time function
    By a.mack123 in forum Excel General
    Replies: 3
    Last Post: 08-20-2010, 06:26 AM
  7. Re: Split Function gives rn-time error
    By Dave Peterson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-04-2005, 10:30 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