+ Reply to Thread
Results 1 to 4 of 4

Compile Error: Invalid outside procedure

  1. #1
    Registered User
    Join Date
    12-16-2008
    Location
    Phoenix
    Posts
    12

    Compile Error: Invalid outside procedure

    I keep getting this error:
    "Compile Error: Invalid outside procedure"

    What I am doing is having a macro execute every time my Pivot table is refreshed, the macro invokes a format change.
    Please Login or Register  to view this content.
    What am I doing wrong? Please help.

    Thanks in Advance.
    Last edited by smylod; 01-27-2009 at 01:33 PM. Reason: Code tags added

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Compile Error: Invalid outside procedure

    Please use proper code tags in future.

    You are placing commands out side of a routine, as the error states.

    You probably want something more like this where each routine is called from the single event routine.

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    12-16-2008
    Location
    Phoenix
    Posts
    12

    Re: Compile Error: Invalid outside procedure

    Thank you so much.
    I apologize for my amatureness, I will use tags appropriately in the future.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Compile Error: Invalid outside procedure

    No worries, glad to help.

+ 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