+ Reply to Thread
Results 1 to 2 of 2

byref argument type mismatch error in function

  1. #1
    Registered User
    Join Date
    09-17-2009
    Location
    Galati, Romania
    MS-Off Ver
    Excel 2003
    Posts
    32

    byref argument type mismatch error in function

    Hello,

    I have this function that changes a sting using another function (scoateA) which is tested and works fine.
    When i call this function i get the byref argument type mismatch error and it highlights the line with the function name.

    So here it is:
    Please Login or Register  to view this content.
    Any ideas?
    Last edited by Aphis; 12-29-2015 at 05:38 AM.

  2. #2
    Registered User
    Join Date
    09-17-2009
    Location
    Galati, Romania
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: byref argument type mismatch error in function

    solved, i had to define the 'i' i used in the for loop.

+ 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. ByRef argument type mismatch
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-18-2015, 11:23 AM
  2. ByRef argument type mismatch - problem wint function
    By kmeld in forum Excel Programming / VBA / Macros
    Replies: 38
    Last Post: 12-30-2013, 09:53 AM
  3. Not able to execute a function - ByRef argument type mismatch
    By dax2ib in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-22-2013, 01:56 AM
  4. [SOLVED] ByRef argument type mismatch
    By Lloyd Blankfein in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-06-2012, 07:26 AM
  5. [SOLVED] ByRef argument type mismatch / Passing array as a function argument
    By pzling in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-29-2012, 06:23 PM
  6. Error passing element of string array get ByRef argument type mismatch
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-17-2011, 02:59 PM
  7. ByRef argument type mismatch error?
    By sermest in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-17-2005, 02:05 PM

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