+ Reply to Thread
Results 1 to 3 of 3

Compile Error: Invalid outside procedure - Workbook Attached

  1. #1
    Registered User
    Join Date
    02-10-2025
    Location
    Redhill
    MS-Off Ver
    MS365
    Posts
    2

    Compile Error: Invalid outside procedure - Workbook Attached

    Hello Excellers,

    Long time listener, first time caller.

    I'm stuck completely some VBA. Keep getting the "Compile Error: Invalid outside procedure" message. Which I believe means there's a random bit of floating instruction, but for the life of me I can't see the wood through the trees.

    I have attached a copy of the workbook. Could anyone kindly take a look at let me know how to fix.

    P.S I'm sure theres also a simpler way or writing the VBA, but I'm this deep in at this point, so just looking for the fix please.
    Attached Files Attached Files

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

    Re: Compile Error: Invalid outside procedure - Workbook Attached

    I can't see any errors in that code. Are you sure that the error isn't in a different workbook?
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Registered User
    Join Date
    02-10-2025
    Location
    Redhill
    MS-Off Ver
    MS365
    Posts
    2

    Re: Compile Error: Invalid outside procedure - Workbook Attached

    Ahhh. What a rookie error.
    Quite likely! I thought I was going mad. Thanks Romper.

+ 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. [SOLVED] Compile Error: Invalid outside procedure
    By sas5610 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-05-2023, 03:13 AM
  2. compile error: invalid outside procedure
    By vbanoob1999 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-01-2020, 10:37 AM
  3. Compile Error: Invalid outside procedure
    By ANewCoder in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-05-2019, 04:31 PM
  4. Compile Error : Invalid outside procedure is popped
    By stephen.sabs in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-11-2019, 05:32 AM
  5. “Compile error: Invalid Outside Procedure”
    By Rajeshkumar R in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-26-2013, 04:32 AM
  6. [SOLVED] Compile Error: Invalid Outside Procedure
    By packet25 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-13-2013, 07:02 AM
  7. Compile Error: Invalid outside procedure
    By smylod in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-27-2009, 01:56 PM

Tags for this Thread

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