+ Reply to Thread
Results 1 to 2 of 2

Invalid Procedure Call (Mid fxn)

  1. #1
    Registered User
    Join Date
    04-26-2011
    Location
    20001
    MS-Off Ver
    Excel 2010
    Posts
    4

    Invalid Procedure Call (Mid fxn)

    Can't figure out what I'm doing wrong. Receive an Invalid Procedure Call or Argument error. Code stops at Mid function. Any help? Thanks. Receive same error when I replace ActiveCell in the Mid fxn with Range("A1")

    Please Login or Register  to view this content.
    Last edited by romperstomper; 04-26-2011 at 08:18 AM. Reason: code tags

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,998

    Re: Invalid Procedure Call (Mid fxn)

    Your code does not test for valid values of begin and leng before trying to use Mid, which I suspect is your issue.

    Please note that when posting code on the forum, you must enclose it in code tags. I have added them for you on this occasion as it's your first post (welcome, by the way! ) but you must use them in future, please.
    Everyone who confuses correlation and causation ends up dead.

+ 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