+ Reply to Thread
Results 1 to 1 of 1

VBA Function Generating Type Mismatch Error

  1. #1
    Registered User
    Join Date
    02-11-2013
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    11

    VBA Function Generating Type Mismatch Error

    I received the attached Rick Rothstean "Original" spreadsheet from http://www.get-digital-help.com/2010...-in-excel-udf/. When I paste large amounts of data (several thousand, for instance) into column A, the arrays in the adjacent columns return a #VALUE error. In order to avoid this calculation update problem and in order to keep down the size of the spreadsheet, I wrote a VBA macro to input the arrays into the appropriate columns after column A is populated and then to copy/paste the array result Values Only. While the SplitWords function is working well, the other functions are returning a Type Mismatch error. The "Edited with VBA Code" spreadsheet is the spreadsheet that I added my VBA code to. Thank you for any help you can provide. Because the problem is in the function, I am having a difficult time troubleshooting the issue because I can't step through the functions with F8 as I do with subroutines.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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