+ Reply to Thread
Results 1 to 2 of 2

Active Macro behaving Inactively?

  1. #1
    Registered User
    Join Date
    04-03-2014
    Location
    Woodbury, GA
    MS-Off Ver
    Excel 2010 and Excel 2013
    Posts
    37

    Active Macro behaving Inactively?

    I sorry for my somewhat unintelligible title, but I really had no other idea as how to word it.

    Here's my dilemma.
    I'm trying to break a gargantuan code into a number of smaller to medium sized codes. However, when I call on the "Copy_before_STAT" Macro I get a run time '1006' error (or 1004 ...can't remember) telling me that this macro is not enabled. However when I run the same Macro (Copy_before_STAT) unaccompanied, it works splendidly.

    Below is my main code.
    Please Login or Register  to view this content.
    here's the code for the Copy_before_STAT Macro
    Please Login or Register  to view this content.
    I must tell you, I do not claim to be a well versed VBA sage capable of solving the worlds numerous and impossibly large problems, but I do ok for a laymen.

    I would be much obliged if someone could give me elucidation on this matter.

    Thank you in advance,
    -Tyler.

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Active Macro behaving Inactively?

    Macro is called "Copying_before_Stat" not "Copy_before_STAT"

    You do not require Run - you may use Call:
    Please Login or Register  to view this content.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

+ 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] Macro to look up and down from the active cell, copying the active "section" of the sheet
    By mikkola in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-12-2013, 07:21 PM
  2. Highlight Active Row macro, and Bold the Active Cell
    By StudentTeacher in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-08-2013, 07:43 PM
  3. Macro to Print active sheet as PDF to Active workbook and customize name
    By Scott Taylor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-17-2012, 08:52 PM
  4. Macro to edit active chart on active worksheet
    By shlurpee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2011, 04:58 AM
  5. macro behaving different in vista with excel 2007
    By CDPRINT in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-17-2010, 10:43 AM

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