+ Reply to Thread
Results 1 to 3 of 3

Cannot find macro error when running a macro from a macro in a diffrent workbook.

  1. #1
    Registered User
    Join Date
    07-01-2010
    Location
    Boston
    MS-Off Ver
    Excel 2003
    Posts
    6

    Cannot find macro error when running a macro from a macro in a diffrent workbook.

    So what this macro is doing first it starts off by selecting the location and filename of the workbook that its going to open, and then opens that workbook. After that is complete it runs another macro named Kazoo which loges into Essbase(Database server). After it logs you into essbase it selects the new workbook that was just opened and looks for the macro "cmreport." This is where we run into an issue we keep getting error message saying that it cant find the macro. Please review when you get a chance and let me know thank you so much for your time.

    Please Login or Register  to view this content.
    Here is the code for the Kazoo Macro:

    Please Login or Register  to view this content.
    I know that the macro "cmreport" in the second workbook I am trying to open works.
    Last edited by romperstomper; 08-05-2010 at 09:19 AM. Reason: Replaced Quote tags with Code tags

  2. #2
    Registered User
    Join Date
    07-01-2010
    Location
    Boston
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Cannot find macro error when running a macro from a macro in a diffrent workbook.

    bumpppppppp

  3. #3
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,736

    Re: Cannot find macro error when running a macro from a macro in a diffrent workbook.

    Does the WorkbookName variable include the extension?

    Note: please use code tags, not quote tags, when posting code. I've altered them for you on this occasion.
    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